c++ print a string code example
Example 1: PRINT IN C ++
#include <iostream>
std::cout << someString << "\n";
Example 2: c++ print
cout << "hello world"
Example 3: how to print string data type in c++
printf("%s\n",someString.c_str());
#include <iostream>
std::cout << someString << "\n";
cout << "hello world"
printf("%s\n",someString.c_str());