Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem with reading big amount of numbers from file Pin
vonpik10-Apr-10 13:18
vonpik10-Apr-10 13:18 
QuestionRe: Problem with reading big amount of numbers from file Pin
Tim Craig10-Apr-10 13:46
Tim Craig10-Apr-10 13:46 
AnswerRe: Problem with reading big amount of numbers from file Pin
vonpik10-Apr-10 14:11
vonpik10-Apr-10 14:11 
GeneralRe: Problem with reading big amount of numbers from file Pin
Tim Craig10-Apr-10 19:37
Tim Craig10-Apr-10 19:37 
GeneralRe: Problem with reading big amount of numbers from file Pin
vonpik11-Apr-10 12:16
vonpik11-Apr-10 12:16 
QuestionRe: Problem with reading big amount of numbers from file Pin
David Crow11-Apr-10 15:54
David Crow11-Apr-10 15:54 
AnswerRe: Problem with reading big amount of numbers from file Pin
vonpik13-Apr-10 10:05
vonpik13-Apr-10 10:05 
GeneralRe: Problem with reading big amount of numbers from file Pin
David Crow13-Apr-10 10:16
David Crow13-Apr-10 10:16 
You missed my subtlty. If you have 160,000 numbers and each is 4 bytes in size, that would require 1.28MB of stack space, obviously more than the default size of 1MB. Using the stack, I'd be surprised if you could get any more than 130,000 numbers.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Man who follows car will be exhausted." - Confucius


GeneralRe: Problem with reading big amount of numbers from file Pin
vonpik16-Apr-10 3:43
vonpik16-Apr-10 3:43 
GeneralRe: Problem with reading big amount of numbers from file Pin
David Crow16-Apr-10 4:41
David Crow16-Apr-10 4:41 
Rant(*&#@*!^ Templates PinPopular
Tim Craig9-Apr-10 20:40
Tim Craig9-Apr-10 20:40 
GeneralWelcome Pin
CPallini10-Apr-10 4:43
mveCPallini10-Apr-10 4:43 
GeneralRe: Welcome Pin
Tim Craig10-Apr-10 21:30
Tim Craig10-Apr-10 21:30 
GeneralRe: (*&#@*!^ Templates Pin
Gary R. Wheeler11-Apr-10 1:31
Gary R. Wheeler11-Apr-10 1:31 
GeneralRe: (*&#@*!^ Templates Pin
Tim Craig11-Apr-10 9:36
Tim Craig11-Apr-10 9:36 
QuestionProblem in AT+CSCA command in AT commands. Pin
Le@rner9-Apr-10 19:29
Le@rner9-Apr-10 19:29 
Questionhow to implement three indepedent random number generators in the same subroutine/function Pin
mrby1239-Apr-10 17:34
mrby1239-Apr-10 17:34 
AnswerRe: how to implement three indepedent random number generators in the same subroutine/function Pin
Adam Roderick J9-Apr-10 18:09
Adam Roderick J9-Apr-10 18:09 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
mrby1239-Apr-10 18:25
mrby1239-Apr-10 18:25 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
Adam Roderick J9-Apr-10 19:23
Adam Roderick J9-Apr-10 19:23 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function [modified] Pin
mrby1239-Apr-10 19:40
mrby1239-Apr-10 19:40 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
mrby12310-Apr-10 19:34
mrby12310-Apr-10 19:34 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
Adam Roderick J10-Apr-10 20:52
Adam Roderick J10-Apr-10 20:52 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
mrby12314-Apr-10 7:21
mrby12314-Apr-10 7:21 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
mrby12314-Apr-10 7:20
mrby12314-Apr-10 7:20 

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.