Horje
how to print std::string Code Example
how to print std::string
string myString = "Press ENTER to quit program!";
    cout << "Come up and C++ me some time." << endl;
    printf("Follow this command: %s", myString.c_str()); //note the use of c_str




Cpp

Related
atan2 Code Example atan2 Code Example
mm Code Example mm Code Example
test3 Code Example test3 Code Example
do c++ ints neeed to be initlaized Code Example do c++ ints neeed to be initlaized Code Example
c++ program to convert character to ascii Code Example c++ program to convert character to ascii Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7