Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detecting internet connection using InternetGetConnectedState in VC++[Modified] Pin
David Crow14-Dec-07 3:40
David Crow14-Dec-07 3:40 
GeneralRe: Detecting internet connection using InternetGetConnectedState in VC++[Modified] Pin
Kogee San16-Dec-07 14:28
Kogee San16-Dec-07 14:28 
GeneralTemplate Pin
james_dixon_200813-Dec-07 15:23
james_dixon_200813-Dec-07 15:23 
GeneralRe: Template Pin
Mark Salsbery13-Dec-07 16:26
Mark Salsbery13-Dec-07 16:26 
GeneralRe: Template Pin
james_dixon_200813-Dec-07 17:19
james_dixon_200813-Dec-07 17:19 
GeneralRe: Template Pin
Mark Salsbery13-Dec-07 18:50
Mark Salsbery13-Dec-07 18:50 
GeneralRe: Template Pin
Nibu babu thomas13-Dec-07 16:32
Nibu babu thomas13-Dec-07 16:32 
GeneralCheck for input from console in C++ Pin
dabs13-Dec-07 14:45
dabs13-Dec-07 14:45 
Hi,

I have a loop in a C++ program which is constantly checking for input from a network source, but I also want to check if the user has entered something into the console - such as a command to stop the program. Obviously I cannot use just standard cin << strCommand;, since that would block until something is entered. Is there any way for me to check if the console has received input?

Regards,
Daníel



Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!


GeneralRe: Check for input from console in C++ Pin
Naveen13-Dec-07 16:12
Naveen13-Dec-07 16:12 
GeneralRe: Check for input from console in C++ Pin
dabs14-Dec-07 3:28
dabs14-Dec-07 3:28 
GeneralCString into string Pin
CodingLover13-Dec-07 14:27
CodingLover13-Dec-07 14:27 
GeneralRe: CString into string Pin
Mark Salsbery13-Dec-07 15:16
Mark Salsbery13-Dec-07 15:16 
GeneralRe: CString into string Pin
CodingLover13-Dec-07 15:34
CodingLover13-Dec-07 15:34 
GeneralRe: CString into string [modified] Pin
Mark Salsbery13-Dec-07 16:19
Mark Salsbery13-Dec-07 16:19 
GeneralRe: CString into string Pin
CodingLover13-Dec-07 17:02
CodingLover13-Dec-07 17:02 
QuestionReadFile() hang Pin
MMM Computers13-Dec-07 12:40
MMM Computers13-Dec-07 12:40 
GeneralRe: ReadFile() hang Pin
Mark Salsbery13-Dec-07 13:00
Mark Salsbery13-Dec-07 13:00 
QuestionRe: ReadFile() hang Pin
David Crow14-Dec-07 3:45
David Crow14-Dec-07 3:45 
GeneralRe: ReadFile() hang Pin
KarstenK14-Dec-07 4:09
mveKarstenK14-Dec-07 4:09 
QuestionWorking with files in c++ unmanaged Pin
clint198213-Dec-07 12:21
clint198213-Dec-07 12:21 
GeneralRe: Working with files in c++ unmanaged Pin
Mark Salsbery13-Dec-07 12:39
Mark Salsbery13-Dec-07 12:39 
GeneralReading and displaying JPG images Pin
Anthony Appleyard13-Dec-07 11:24
Anthony Appleyard13-Dec-07 11:24 
GeneralRe: Reading and displaying JPG images Pin
Mark Salsbery13-Dec-07 12:47
Mark Salsbery13-Dec-07 12:47 
GeneralVisual C++ program displaying junk characters Pin
Anthony Appleyard13-Dec-07 11:21
Anthony Appleyard13-Dec-07 11:21 
GeneralRe: Visual C++ program displaying junk characters Pin
Maximilien13-Dec-07 12:33
Maximilien13-Dec-07 12:33 

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.