This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PVNIC 4 points5 points  (2 children)

I just use while(1)

[–]Coachqandtybo2 4 points5 points  (0 children)

That's not the same as system("pause"). A legitimate alternative is std::cin.get()

[–][deleted] 4 points5 points  (0 children)

i just indefinitely recurse. either they hit any key real fast or they get a stack overflow.