Click here to Skip to main content
15,905,913 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Flush cin Pin
Andrew Walker31-Jul-03 11:32
Andrew Walker31-Jul-03 11:32 
GeneralAbout a function declaration Pin
FlyingDancer30-Jul-03 23:40
FlyingDancer30-Jul-03 23:40 
GeneralRe: About a function declaration Pin
Anonymous30-Jul-03 23:58
Anonymous30-Jul-03 23:58 
GeneralRe: About a function declaration Pin
FlyingDancer31-Jul-03 1:47
FlyingDancer31-Jul-03 1:47 
QuestionHow to us msComm Control on A DialogBar Pin
coolfired30-Jul-03 23:40
coolfired30-Jul-03 23:40 
QuestionIs it possible to have callback function as a class member? Pin
Aidman30-Jul-03 23:09
Aidman30-Jul-03 23:09 
AnswerRe: Is it possible to have callback function as a class member? Pin
FlyingDancer30-Jul-03 23:34
FlyingDancer30-Jul-03 23:34 
GeneralRe: Is it possible to have callback function as a class member? Pin
Aidman31-Jul-03 0:37
Aidman31-Jul-03 0:37 
GeneralRe: Is it possible to have callback function as a class member? Pin
Rage31-Jul-03 1:02
professionalRage31-Jul-03 1:02 
GeneralRe: Is it possible to have callback function as a class member? Pin
John R. Shaw31-Jul-03 9:31
John R. Shaw31-Jul-03 9:31 
GeneralRe: Is it possible to have callback function as a class member? Pin
FlyingDancer31-Jul-03 1:55
FlyingDancer31-Jul-03 1:55 
AnswerRe: Is it possible to have callback function as a class member? Pin
Andrew Walker30-Jul-03 23:46
Andrew Walker30-Jul-03 23:46 
AnswerRe: Is it possible to have callback function as a class member? Pin
Neville Franks31-Jul-03 0:19
Neville Franks31-Jul-03 0:19 
QuestionHow to know the current path of my project Pin
FlyingDancer30-Jul-03 22:11
FlyingDancer30-Jul-03 22:11 
AnswerRe: How to know the current path of my project Pin
Arjan Schouten30-Jul-03 22:54
Arjan Schouten30-Jul-03 22:54 

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.