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

C / C++ / MFC

 
GeneralHelp in console c++ Pin
Snyp21-Oct-03 13:39
Snyp21-Oct-03 13:39 
GeneralRe: Help in console c++ Pin
Christian Graus21-Oct-03 13:49
protectorChristian Graus21-Oct-03 13:49 
GeneralRe: Help in console c++ Pin
Snyp21-Oct-03 13:51
Snyp21-Oct-03 13:51 
GeneralRe: Help in console c++ Pin
Christian Graus21-Oct-03 13:52
protectorChristian Graus21-Oct-03 13:52 
GeneralRe: Help in console c++ Pin
Snyp21-Oct-03 14:17
Snyp21-Oct-03 14:17 
GeneralRe: Help in console c++ Pin
Christian Graus21-Oct-03 14:18
protectorChristian Graus21-Oct-03 14:18 
GeneralRe: Help in console c++ Pin
Snyp21-Oct-03 14:21
Snyp21-Oct-03 14:21 
GeneralRe: Help in console c++ Pin
Christian Graus21-Oct-03 14:25
protectorChristian Graus21-Oct-03 14:25 
*sigh& Thats why I said to read my articles.....

#include <iostream>
#include <fstream>

using std:ifstream


ifstream myStream("c:\\stream.txt");
char c;

myStream >> c;

if (c == ' ')
std::cout << "You typed a space";
else
std::cout << "You didn't type a space, sucka";

Christian

I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
GeneralRe: Help in console c++ Pin
Snyp21-Oct-03 14:46
Snyp21-Oct-03 14:46 
GeneralRe: Help in console c++ Pin
joshfl23-Oct-03 10:02
joshfl23-Oct-03 10:02 
QuestionWhy wont this compile? Pin
adonisv21-Oct-03 11:32
adonisv21-Oct-03 11:32 
AnswerRe: Why wont this compile? Pin
Kentamanos21-Oct-03 11:51
Kentamanos21-Oct-03 11:51 
GeneralRe: Why wont this compile? Pin
Joel Matthias21-Oct-03 12:06
Joel Matthias21-Oct-03 12:06 
GeneralRe: Why wont this compile? Pin
Terry O'Nolley21-Oct-03 13:40
Terry O'Nolley21-Oct-03 13:40 
GeneralRe: Why wont this compile? Pin
David Crow21-Oct-03 16:56
David Crow21-Oct-03 16:56 
AnswerRe: Why wont this compile? Pin
Christian Graus21-Oct-03 13:51
protectorChristian Graus21-Oct-03 13:51 
GeneralI got it to compile! Pin
adonisv21-Oct-03 16:54
adonisv21-Oct-03 16:54 
GeneralRaceX - A 2D Racing Game using DirectDraw by Mauricio Ritter Pin
ypo_cnihtmarcher21-Oct-03 11:09
ypo_cnihtmarcher21-Oct-03 11:09 
GeneralRe: RaceX - A 2D Racing Game using DirectDraw by Mauricio Ritter Pin
WREY21-Oct-03 11:36
WREY21-Oct-03 11:36 
GeneralRe: RaceX - A 2D Racing Game using DirectDraw by Mauricio Ritter Pin
Christian Graus21-Oct-03 14:23
protectorChristian Graus21-Oct-03 14:23 
GeneralRe: RaceX - A 2D Racing Game using DirectDraw by Mauricio Ritter Pin
joshfl23-Oct-03 10:10
joshfl23-Oct-03 10:10 
GeneralThe Invasion Game Pin
ypo_cnihtmarcher21-Oct-03 10:55
ypo_cnihtmarcher21-Oct-03 10:55 
GeneralRe: The Invasion Game Pin
David Crow21-Oct-03 11:03
David Crow21-Oct-03 11:03 
GeneralRe: The Invasion Game Pin
Rafael Fernández López21-Oct-03 11:49
Rafael Fernández López21-Oct-03 11:49 
GeneralDebugging an ATL Dll using a manged application Pin
Rainer Mangold21-Oct-03 10:31
Rainer Mangold21-Oct-03 10:31 

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.