fork(1) download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4. #define HUH 0
  5. int main(){
  6. PROGRAMMING_BY_THE_HARD_WAY:
  7. string choice;
  8. /* your program */
  9. cin >> choice;
  10. if((choice == "suprice")? !HUH : HUH){
  11. cout << "Suprice, mothafucka." << endl;
  12. goto PROGRAMMING_BY_THE_HARD_WAY;
  13. }
  14. }
Success #stdin #stdout 0s 3428KB
stdin
surprise
surprise
surprise
stdout
Standard output is empty