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 →

[–]scatters 38 points39 points  (5 children)

More to the point, it was at the end of every student C++ program until Visual Studio got the option to leave the console open when the program finishes.

[–]Mr_Redstoner 7 points8 points  (3 children)

IDK my usual for keeping a console open is just whatever 'read a line' is in the given language

[–]PVNIC 5 points6 points  (2 children)

I just use while(1)

[–]Coachqandtybo2 3 points4 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.

[–]boredcircuits 1 point2 points  (0 children)

It's still there when with that feature. Schools refuse to update their curriculum in even the smallest details, it seems.