ParaToxic Posted March 27, 2012 Share Posted March 27, 2012 Hey , I am very confused right now I make a animated texture class and want to save some coordinates from a file into TVec2 variables. As the loaded file contain the number of the coordinates I have to create a dynamic TVec2 Array. So I write TVec2* coords; and later (only example) coords = new TVec2[5]; But I become an error. Why? Quote Link to comment Share on other sites More sharing options...
Furbolg Posted March 27, 2012 Share Posted March 27, 2012 Can you post error ? Because the compiler tell you whats wrong, you just need to interpret it Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted March 27, 2012 Author Share Posted March 27, 2012 I didn't become a compiler error but when the application started(1-2 secs after it starts). The window says(in german ) Unbehandelte Ausnahme bei 0x77bfe754 in gui.exe: 0xC0000005: Zugriffsverletzung beim Schreiben an Position 0x00000000. Sorry it was an error in my class with the ifstream Pls delete Quote Link to comment Share on other sites More sharing options...
Furbolg Posted March 27, 2012 Share Posted March 27, 2012 So its solved ? ps. I have no problem with german, as im from germany Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.