console input

hey all, this is a real newbie question but i’m stumped over it. my program is a console application and i need to handle input in one thread, while other threads are running. however when i use cin or getc the thread waiting for input pauses all other threads currently running.

is there a different function i can use, or a different way of handling user input?

also is there a way to read user input without the user having to press Enter? i.e. a self-made “press any key to continue”[/i]

The thread thing should not happen, you sure the other threads are paused? Maybe post your code.

For your second problem, check out: … tchar.html