Answers for "chat to int in c"

0

c convert char to int

int i = (int)(c - '0');
Posted by: Guest on October-29-2020
-4

converting char to int in c++

#include <sstream>

using namespace std;

int main()
{
    stringstream str;
    
    str << "1";

    double x;
    str >> x;
}
Posted by: Guest on March-21-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language