Click here to Skip to main content
15,910,211 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is this standard? Pin
Jim A. Johnson18-Oct-02 6:39
Jim A. Johnson18-Oct-02 6:39 
AnswerRe: Is this standard? Pin
Michael Dunn18-Oct-02 13:14
sitebuilderMichael Dunn18-Oct-02 13:14 
GeneralLevel 4 Warnings... Pin
Nitron18-Oct-02 5:01
Nitron18-Oct-02 5:01 
GeneralRe: Level 4 Warnings... Pin
Shog918-Oct-02 5:31
sitebuilderShog918-Oct-02 5:31 
GeneralRe: Level 4 Warnings... Pin
Nitron18-Oct-02 5:40
Nitron18-Oct-02 5:40 
Generalstack overflow Pin
RalfPeter18-Oct-02 4:26
RalfPeter18-Oct-02 4:26 
GeneralRe: stack overflow Pin
Iain Clarke, Warrior Programmer18-Oct-02 4:51
Iain Clarke, Warrior Programmer18-Oct-02 4:51 
GeneralRe: stack overflow Pin
Nitron18-Oct-02 4:55
Nitron18-Oct-02 4:55 
Put your array on the heap rather than the stack. I would even wrap it in a class:

class CABigArray
{
  public:
    float theArray[1000][1000] = 0;
};


then:

void main()
{
    CABigArray* p_ba = new CABigArray;
 // now fill it up...
    for(int i=0; i<1000; i++)
    {
        for(int q=0; q<100; q++)
             p_ba->theArray[i][q] = i * q; // or something)
    }
    delete p_ba;

}


Nitron
_________________________________________--
message sent on 100% recycled electrons.
GeneralRe: stack overflow Pin
Scott H. Settlemier18-Oct-02 18:57
Scott H. Settlemier18-Oct-02 18:57 
GeneralRe: stack overflow Pin
Patje20-Oct-02 21:25
Patje20-Oct-02 21:25 
QuestionAddString() fails, WHY??? Pin
Wenrich18-Oct-02 4:02
Wenrich18-Oct-02 4:02 
AnswerRe: AddString() fails, WHY??? Pin
Chris Losinger18-Oct-02 4:10
professionalChris Losinger18-Oct-02 4:10 
GeneralRe: AddString() fails, WHY??? Pin
Wenrich18-Oct-02 4:15
Wenrich18-Oct-02 4:15 
AnswerRe: AddString() fails, WHY??? Pin
Carlos Antollini18-Oct-02 4:23
Carlos Antollini18-Oct-02 4:23 
AnswerRe: AddString() fails, WHY??? Pin
RalfPeter18-Oct-02 4:33
RalfPeter18-Oct-02 4:33 
AnswerNO error, the string just NOT added Pin
Wenrich18-Oct-02 4:44
Wenrich18-Oct-02 4:44 
GeneralSerial Port Programming Question Pin
Sens200218-Oct-02 3:57
Sens200218-Oct-02 3:57 
GeneralRe: Serial Port Programming Question Pin
Iain Clarke, Warrior Programmer18-Oct-02 5:22
Iain Clarke, Warrior Programmer18-Oct-02 5:22 
GeneralBitmap save. Pin
int01h18-Oct-02 3:36
int01h18-Oct-02 3:36 
GeneralRe: Bitmap save. Pin
Chris Losinger18-Oct-02 3:38
professionalChris Losinger18-Oct-02 3:38 
GeneralRe: Bitmap save. Pin
int01h18-Oct-02 3:40
int01h18-Oct-02 3:40 
GeneralRe: Bitmap save. Pin
Chris Losinger18-Oct-02 3:44
professionalChris Losinger18-Oct-02 3:44 
GeneralRe: Bitmap save. Pin
int01h18-Oct-02 3:47
int01h18-Oct-02 3:47 
GeneralRe: Bitmap save. Pin
Chris Losinger18-Oct-02 3:56
professionalChris Losinger18-Oct-02 3:56 
GeneralRe: Bitmap save. Pin
int01h18-Oct-02 4:05
int01h18-Oct-02 4:05 

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.