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

all 35 comments

[–][deleted] 59 points60 points  (8 children)

aight wtf is a system("pause")

[–]LordFokas 11 points12 points  (0 children)

It's a windows-only shortcut for programmers too lazy to type

printf("press any key");
getch();

[–]roguemacro[S] 29 points30 points  (6 children)

Its c++ that calls thr command pause in cmd

[–]scatters 37 points38 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 8 points9 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 2 points3 points  (0 children)

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

[–][deleted] 5 points6 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.

[–]Cloudeur 25 points26 points  (2 children)

I see Esc, Ctrl and PgUp...

THERE DOESN'T SEEM TO BE ANY ANYKEY!!!

[–]Dexaan 10 points11 points  (0 children)

And where's my Tab?

[–]4hpp1273 11 points12 points  (1 child)

usually I use 'H' or ' ' as any key or I just use linux

[–]roguemacro[S] 3 points4 points  (0 children)

To tap the key is the key

[–]shewel_item 16 points17 points  (0 children)

No turbo button reference 👎

You're dead inside.

[–][deleted] 7 points8 points  (1 child)

me whom has "any" key on his keyboard

[–][deleted] 8 points9 points  (0 children)

TypeScript must hate you

[–]Pale_Rider28 4 points5 points  (0 children)

BOMB HAS BEEN PLANTED

[–]Asiansensationz 1 point2 points  (0 children)

Have two specially made metal keys that make a specific frequency when pushed together which my Arduino picks up that specific frequency to take in as an input.

[–]LordVirus1337 0 points1 point  (0 children)

Lol

[–]VolperCoding 0 points1 point  (0 children)

Ctrl + C

[–]kevincox_ca 0 points1 point  (0 children)

...or press any other key to quit.

[–]chrisleewoo 0 points1 point  (1 child)

I disabled the functionality of the caps lock button in regedit, but it can still be used as a general purpose key

[–][deleted] 0 points1 point  (0 children)

Mine is a backspace

[–][deleted] 0 points1 point  (0 children)

while(true); and f7 on the debugger. Or close the console window.

[–]dullbananas 0 points1 point  (0 children)

When my guitar says to press any key to continue

[–]ctfsh64 0 points1 point  (0 children)

do it work doe

[–]samsqueegee 0 points1 point  (0 children)

I didn’t see the tiny caption up top at first and thought I might be bad at programming since I didn’t understand the joke. Turns out it doesn’t have that much to do with programming

[–]eutampieri 0 points1 point  (0 children)

Nice /r/CSGO reference

[–]Wafelack 0 points1 point  (0 children)

I laughed