Answers for "is string a data type in c++"

C++
4

how to check datatype of a variable in c++

#include <typeinfo>
...
cout << typeid(variable).name() << endl;
Posted by: Guest on May-29-2020
4

how can make string value in cpp

#include <string>
string hello= "hello you thre :)";
Posted by: Guest on June-07-2020
0

how to print string data type in c++

printf("%sn",someString.c_str());
Posted by: Guest on April-26-2020

Browse Popular Code Answers by Language