fork download
  1. #include <iostream>
  2. #include <string>
  3. #include <cstdio>
  4. int main()
  5. {
  6. using namespace std;
  7. string myString = "Press ENTER to quit program!";
  8. cout << "Come up and C++ me some time." << endl;
  9. printf("Follow this command: %s", myString);
  10. cin.get();
  11. return 0;
  12. }
Success #stdin #stdout 0s 3464KB
stdin
a
stdout
Come up and C++ me some time.
Follow this command: *: