What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-08-29 21:15:02
c++ get ascii value of char
//It is almost know to everybody , how to print an ASCII code of a character. #include <bits/stdc++.h> using namespace std; int main() { int var=65; cout<<(char)var<<endl; //By this way, you can get the character with that mentioned AS... Add solution