Convert Character into Integer in C++
#include<iostream>
using namespace std;
int main()
{
char temp;
cout << "enter something"<<endl;
cin >> temp;
int int_value = (int)temp;
cout << "int value is :: "<<int_value;
system("pause");
return 0;
}
------------------------------------------------------
How to convert a single char into an int C++
Convert char to int in C and C++
how to convert char to int
C++ convert integer to string and back to interger
Function to convert integer to single char.
how to change char into int
how to convert char to integer???
converting char to int - C++
char to int
converting char to ascii code
Turning int into an ASCII character
Converting an int into a char[]?
Searches related to Convert Character into Integer in c++
c++ string atoi
int to str c++
how to convert int to char
java convert character integer
python convert character integer
c++ convert character string
convert char integer java
convert char double c++
0 comments:
Post a Comment