@hgoel0974: I'm not discussing Windows vs Linux again, but Windows 8 sucks. And you've never heard of it because it's a libc function (and thus belongs to C and not to C#). And no, it's not like Thread.Sleep() because in C there are no native threads like C# or Java. getch() is "get character". The reason Windows novice developers use this function is to stop the execution until a key press, usually because they don't understand how console programs work. Since C has no native threads, getch() blocks the whole process, and thus it is not the same as Thread.Sleep() or sceKernelSleepThread. getch is for reading a character, not to pause a thread.
Advertising