Search
 
SCRIPT & CODE EXAMPLE
 

CPP

ascii conversion cpp

{
// line 3 and 4 showing how to do in two different ways.
    cout<<(int)'a'<<endl;
    cout<<int('A')<<endl;
    cout<<char(65)<<endl;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: C++ Vector Operation Add Element 
Cpp :: how to print a text in c++ 
Cpp :: how do you wait in C++ 
Cpp :: c++ basic snippet 
Cpp :: how to square a number in c++ 
Cpp :: stl vector 
Cpp :: function in struct c++ 
Cpp :: classes and objects in c++ 
Cpp :: c++ vs g++ 
Cpp :: sort vector of strings 
Cpp :: binary search c++ 
Cpp :: convert characters to lowercase c++ 
Cpp :: c++ reverse string 
Cpp :: convert integer to string in c++ 
Cpp :: how to slice vector in c++ 
Cpp :: print counting in c++ 
Cpp :: gcc suppress warning inline 
Cpp :: linked list in c++ 
Cpp :: c++ auto 
Cpp :: c++ class template 
Cpp :: access last element of set c++ 
Cpp :: sum array c++ 
Cpp :: c++ data types 
Cpp :: cknuth hash 
Cpp :: fill two dimensional array c++ 
Cpp :: resharper fold statement 
Cpp :: what is a variable in cpp 
Cpp :: how to print items in c++ 
Cpp :: c++ compare type 
Cpp :: tabeau dynamique c++ 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =