Skip to content

azizovrafael/Simple-CPlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-CPlusPlus

Exchange functions of data types in C/C++ convenience

#simplecplusplus

Import

First:

cd {your project}

Second Git Clone:

git clone https://github.com/azizovrafael/Simple-CPlusPlus

Include your file:

...
#include "Simple-CPlusPlus/router.h"
...

And Use Functions In Your Code :)

Functions

Exchange functions of data types in C/C++ convenience:

  • String, Char, Const Char To Integer - INT(...) - return integer;
  • Integer, Char, Const Char To String - STR(...) - return string;
  • Char, String, Integer To Const Char - CONST_CHAR(...) - return const char;
  • String, Integer, Const Char To Char - CHAR(...) - return char;
  • Don't use cin, getline USE - INPUT(...) - default function return string; ( If yout want return another type use INT(INPUT()), CHAR(INPUT()),CONST_CHAR(INPUT()) )
# code
...
string n = INPUT("Enter: ");
...

# console
...
Enter: |
...
  • Get Length of String, Char and Const Char - LEN(...) - return integer;
  • String, Char, Const Char Uppercase - UPPER(...) - return string; ( If yout want return another type use CHAR(UPPER(...)),CONST_CHAR(UPPER(...)) )
  • String, Char, Const Char Lowercase - LOWER(...) - return string; ( If yout want return another type use CHAR(LOWER(...)),CONST_CHAR(LOWER(...)) )

Contact

If you want to contact me

Mail: rafael.jr077@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages