Search found 44 matches
- June 19th, 2019, 1:52 am
- Forum: Everything
- Topic: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
- Replies: 7
- Views: 2915
Re: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
By the way, these have been the most difficult for me to find as well, especially if it isn't my code, but the clue is the "stack corruption" as this will always have you looking for out of bounds access either through C array or pointer arithmetic. Thank you for giving me tips to understand the er...
- June 17th, 2019, 6:02 am
- Forum: Everything
- Topic: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
- Replies: 7
- Views: 2915
Re: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
I think I found the bug. The bug is happened in my second post "List[MAX] = {};". My value of Max variable is 50. The index range is from 0~49. I try to access the value at index 50, which is out of range, and cause the program crashed. But why the exception message is "Stack around the variable 'db...
- June 17th, 2019, 12:07 am
- Forum: Everything
- Topic: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
- Replies: 7
- Views: 2915
Re: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
What steps have you taken to debug the executable? Hi, chili, here is the steps I've taken to debug (using breakpoint): 1. Add a datum to the array, and see if the datum store in the array. (Yes, it store in the array) 2. Add a another datum to the array, and see if the datum store in the next posi...
- June 16th, 2019, 1:44 am
- Forum: Everything
- Topic: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
- Replies: 7
- Views: 2915
Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
Hi, everybody. I'm new here, and this is my first post. First, thanks to Chili making these great game programming tutorials. Let us know the idea of game programming, and had a chance to make our own game. I'm now at Intermediate C++ Game Programming Tutorial 4 File IO Homework part. My program wil...