DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2008
    Posts
    23

    array initialization crash (was:help needed)

    guys, i had a problem. when i initialize another array it shows error. when it runs but it can build prefectly well.
    This is the program that i wrote:

    Code:
    public:
    	void CduEng();
    	void DrawEng();
    	void FlightSimInfo();
    
    	CCduEngDlg(CWnd* pParent = NULL);	// standard constructor
    
    	CBitmap bmDrawEng;
    	CDC memdcDrawEng;
    
    	CBitmap bmCduEng;
    	CDC memdcCduEng;
    
    	
    	int Egt, Egt1, Egt2;
    	int SaveEgt[255], SaveEgt1[255];
    	int SaveEgt2[255];
    when i never initialize SaveEgt2, there was no error when it run but when i initialize it the error occured.. i will attach the picture of what is the error.
    Attached Files

  2. #2
    Join Date
    Nov 2003
    Posts
    4,118
    I don't see the code of the SaveEgt2's constructor. Please show it here.
    Danny Kalev

  3. #3
    Join Date
    Dec 2008
    Posts
    23
    erm.. the problem was solved. The error occur is because i only build the program, i never rebuild all the program. anyway thanks for ur help :)

Similar Threads

  1. Replies: 26
    Last Post: 12-01-2012, 04:12 AM
  2. Reversing an Array
    By Tmcclain in forum Java
    Replies: 7
    Last Post: 02-13-2009, 10:57 PM
  3. Dynamic Initialization of An Array
    By Stunner in forum C++
    Replies: 4
    Last Post: 05-11-2008, 04:59 PM
  4. Replies: 1
    Last Post: 07-30-2007, 06:00 PM
  5. Replies: 4
    Last Post: 07-30-2007, 04:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links