Click here to Skip to main content
15,608,738 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: why CCriticalSection::Lock doesn't allow to set the timeout Pin
Naveen1-Nov-09 17:48
Naveen1-Nov-09 17:48 
AnswerRe: why CCriticalSection::Lock doesn't allow to set the timeout Pin
cmk1-Nov-09 18:31
cmk1-Nov-09 18:31 
QuestionFailure opening/reading a large file Pin
jocasa1-Nov-09 12:36
jocasa1-Nov-09 12:36 
AnswerRe: Failure opening/reading a large file Pin
CPallini1-Nov-09 20:54
mveCPallini1-Nov-09 20:54 
QuestionRe: Failure opening/reading a large file [modified] Pin
Adam Roderick J1-Nov-09 20:54
Adam Roderick J1-Nov-09 20:54 
AnswerRe: Failure opening/reading a large file Pin
jocasa1-Nov-09 22:23
jocasa1-Nov-09 22:23 
AnswerRe: Failure opening/reading a large file [solved] Pin
jocasa2-Nov-09 2:37
jocasa2-Nov-09 2:37 
QuestionWhy wifstream can not read in numbers? [modified] Pin
transoft1-Nov-09 10:31
transoft1-Nov-09 10:31 
Hi,

I tried to read in the some numbers in a file. I did following:

wifstream is(pFileName);

int int1 = 0, int2 = 0;
is >> int1 ;
is >> int2 ;


The "int1" and "int2" are always "0".

What is wrong?

Thanks

modified on Sunday, November 1, 2009 4:41 PM

QuestionRe: Why wifstream can not read in numbers? Pin
«_Superman_»1-Nov-09 12:18
professional«_Superman_»1-Nov-09 12:18 
AnswerRe: Why wifstream can not read in numbers? Pin
transoft2-Nov-09 1:35
transoft2-Nov-09 1:35 
GeneralRe: Why wifstream can not read in numbers? Pin
«_Superman_»2-Nov-09 4:06
professional«_Superman_»2-Nov-09 4:06 
GeneralRe: Why wifstream can not read in numbers? [modified] Pin
transoft2-Nov-09 5:24
transoft2-Nov-09 5:24 
QuestionExit Message Box Pin
MrMcIntyre1-Nov-09 8:56
MrMcIntyre1-Nov-09 8:56 
AnswerRe: Exit Message Box Pin
«_Superman_»1-Nov-09 9:24
professional«_Superman_»1-Nov-09 9:24 
GeneralRe: Exit Message Box [modified] Pin
MrMcIntyre1-Nov-09 9:33
MrMcIntyre1-Nov-09 9:33 
GeneralRe: Exit Message Box Pin
«_Superman_»1-Nov-09 9:46
professional«_Superman_»1-Nov-09 9:46 
GeneralRe: Exit Message Box Pin
MrMcIntyre1-Nov-09 9:57
MrMcIntyre1-Nov-09 9:57 
GeneralRe: Exit Message Box Pin
«_Superman_»1-Nov-09 10:00
professional«_Superman_»1-Nov-09 10:00 
GeneralRe: Exit Message Box Pin
MrMcIntyre1-Nov-09 10:04
MrMcIntyre1-Nov-09 10:04 
GeneralRe: Exit Message Box Pin
MrMcIntyre1-Nov-09 10:48
MrMcIntyre1-Nov-09 10:48 
GeneralRe: Exit Message Box Pin
hxhl951-Nov-09 13:16
hxhl951-Nov-09 13:16 
GeneralRe: Exit Message Box Pin
David Crow2-Nov-09 2:58
David Crow2-Nov-09 2:58 
GeneralRe: Exit Message Box Pin
MrMcIntyre2-Nov-09 10:52
MrMcIntyre2-Nov-09 10:52 
AnswerRe: Exit Message Box Pin
David Crow2-Nov-09 10:54
David Crow2-Nov-09 10:54 
GeneralRe: Exit Message Box [modified] Pin
MrMcIntyre2-Nov-09 10:59
MrMcIntyre2-Nov-09 10:59 

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.