Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I implement a schedule reboot prompts using WUAPI? Or some other way? Pin
hanq_389101301-Nov-09 17:06
hanq_389101301-Nov-09 17:06 
AnswerRe: How can I implement a schedule reboot prompts using WUAPI? Or some other way? Pin
Naveen1-Nov-09 17:44
Naveen1-Nov-09 17:44 
GeneralRe: How can I implement a schedule reboot prompts using WUAPI? Or some other way? Pin
hanq_389101301-Nov-09 18:01
hanq_389101301-Nov-09 18:01 
Questionwhy CCriticalSection::Lock doesn't allow to set the timeout Pin
Ramon F. Mendes1-Nov-09 14:52
Ramon F. Mendes1-Nov-09 14:52 
AnswerRe: why CCriticalSection::Lock doesn't allow to set the timeout Pin
«_Superman_»1-Nov-09 16:02
professional«_Superman_»1-Nov-09 16:02 
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 
Hi,
as a result of some calculations in my program, a text file of about 15Gb is created. It contains a very, very long list of numbers like this:

32.2216
32.2425
211.372
34.3651
53.2281
118.987
26.7481
198.789
54.2434
110.048
110.031
222.574
109.283
29.8529

When the program reads it afterwards (to make further calculations based on these data), it halts giving this error message:

terminate called after throwing an instance of 'std::ios_base::failure'
  what():  basic_ios::clear
Aborted


I'm using Linux. Can anyone tell me why this happens and if there's a solution? Thanks. Smile | :)
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 
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 

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.