Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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;
}
 
PREVIOUS NEXT
Tagged: #ascii #conversion #cpp
ADD COMMENT
Topic
Name
1+4 =