Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Visual Studio Throws Exception Errors

Author
Message
Tobias_Ripper
11
Years of Service
User Offline
Joined: 24th Mar 2013
Location: REPCONN inc.
Posted: 23rd Nov 2017 04:20 Edited at: 23rd Nov 2017 04:23
I've finally finished converting the Tier 1 code to Tier 2. Every variable is corrected and every file is loading up (as far as I know, no errors).

I get the App Window that pops momentarily then these two windows cycle with the files of code highlighted on the left.
https://imgur.com/a/jpDrE

The Output window:
Eisenstadt Studio: Eisenstadtstudio.com
Composers Page: Milesthatch.net
MadBit
VIP Member
Gold Codemaster
15
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 23rd Nov 2017 10:35
I do not know what your code looks like. But that usually happens when you access memory that is not yet allocated.
Please keep in mind, if you allocate an array of size 20. Then you can only address the elements from 0 to 19 inclusive.

This is a common mistake when switching from Basic to C/C ++.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Tobias_Ripper
11
Years of Service
User Offline
Joined: 24th Mar 2013
Location: REPCONN inc.
Posted: 23rd Nov 2017 20:58 Edited at: 23rd Nov 2017 21:16
Ah, I suspected so. so array start from 0 in C++.
Eisenstadt Studio: Eisenstadtstudio.com
Composers Page: Milesthatch.net

Login to post a reply

Server time is: 2024-11-22 20:22:21
Your offset time is: 2024-11-22 20:22:21