« first day (1314 days earlier)      last day (1763 days later) » 

11:12
"Write a program that consist of a while-loop that (each time around the loop) reads in two ints and then prints them. Exit the program when a terminating '|' is entered."

I tried this: https://pastebin.com/SdfHVDcL but now it requires a second input if the '|'-character is entered in the first std::cin.
Should I use something like this inside the loop?:
if (raw_number1=="|") {break}

altho, this would leave the while-statement "empty", isn't there a better way than while(1==1){do something}

« first day (1314 days earlier)      last day (1763 days later) »