Click here to Skip to main content
15,923,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _beginthread newbie question Pin
User 665831-Jul-03 2:11
User 665831-Jul-03 2:11 
GeneralRe: _beginthread newbie question Pin
Vitali Halershtein31-Jul-03 4:55
Vitali Halershtein31-Jul-03 4:55 
GeneralRe: _beginthread newbie question Pin
tareqsiraj31-Jul-03 6:53
tareqsiraj31-Jul-03 6:53 
GeneralSelecting multiple files in subdirectories Pin
BoudewijnEctor31-Jul-03 1:20
BoudewijnEctor31-Jul-03 1:20 
GeneralRe: Selecting multiple files in subdirectories Pin
Ted Ferenc31-Jul-03 1:33
Ted Ferenc31-Jul-03 1:33 
GeneralRe: Selecting multiple files in subdirectories Pin
Jim Crafton31-Jul-03 8:19
Jim Crafton31-Jul-03 8:19 
GeneralDead windows in MFC Pin
BoudewijnEctor31-Jul-03 0:59
BoudewijnEctor31-Jul-03 0:59 
GeneralRe: Dead windows in MFC Pin
BoudewijnEctor31-Jul-03 1:08
BoudewijnEctor31-Jul-03 1:08 
GeneralRe: Dead windows in MFC Pin
jhwurmbach31-Jul-03 1:20
jhwurmbach31-Jul-03 1:20 
GeneralRe: Dead windows in MFC Pin
BoudewijnEctor31-Jul-03 1:23
BoudewijnEctor31-Jul-03 1:23 
GeneralRe: Dead windows in MFC Pin
jhwurmbach31-Jul-03 1:29
jhwurmbach31-Jul-03 1:29 
GeneralRe: Dead windows in MFC Pin
BoudewijnEctor31-Jul-03 1:53
BoudewijnEctor31-Jul-03 1:53 
GeneralRe: Dead windows in MFC Pin
BoudewijnEctor31-Jul-03 2:01
BoudewijnEctor31-Jul-03 2:01 
GeneralRe: Dead windows in MFC Pin
Ravi Bhavnani31-Jul-03 2:38
professionalRavi Bhavnani31-Jul-03 2:38 
GeneralRe: Dead windows in MFC Pin
BoudewijnEctor1-Aug-03 0:43
BoudewijnEctor1-Aug-03 0:43 
GeneralRe: Dead windows in MFC Pin
Ravi Bhavnani1-Aug-03 4:17
professionalRavi Bhavnani1-Aug-03 4:17 
GeneralI don't wanna record same information again Pin
Emre Zorlu31-Jul-03 0:47
Emre Zorlu31-Jul-03 0:47 
GeneralRe: I don't wanna record same information again Pin
Rage31-Jul-03 0:56
professionalRage31-Jul-03 0:56 
GeneralRe: I don't wanna record same information again Pin
Emre Zorlu31-Jul-03 1:00
Emre Zorlu31-Jul-03 1:00 
GeneralXp vs. NT Pin
Rage31-Jul-03 0:39
professionalRage31-Jul-03 0:39 
GeneralRe: Xp vs. NT Pin
Chris Richardson31-Jul-03 8:28
Chris Richardson31-Jul-03 8:28 
GeneralRe: Xp vs. NT Pin
Mathias S.19-Aug-03 4:20
Mathias S.19-Aug-03 4:20 
GeneralFlush cin Pin
Andrew Walker30-Jul-03 23:54
Andrew Walker30-Jul-03 23:54 
Stupid, stupid question.

Is there a way to completely flush cin of everything. A '/n' stays in the buffer if you ever use the stream extraction operators.

The end goal is to replace the VC6 functionality of 'press any button to continue.' which is written out to the console in debug mode. It needs to be using only STL (using cin / streambufs etc), and it only needs to detect enter being pressed. I know I can use _kbhit(), but I'm annoyed enough to want someone to tell me what I'm missing.

Bloody lecturers.


If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralRe: Flush cin Pin
Ryan Binns31-Jul-03 1:09
Ryan Binns31-Jul-03 1:09 
GeneralRe: Flush cin Pin
John R. Shaw31-Jul-03 9:24
John R. Shaw31-Jul-03 9:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.