Search found 4 matches
- July 5th, 2019, 5:48 pm
- Forum: Everything
- Topic: Beginning C++ Tutorial 14
- Replies: 9
- Views: 4539
Re: Beginning C++ Tutorial 14
Thank you! I knew there had to be some dumbass error somewhere, but I just couldn't see it. Even though I was able to get the program to run it bothered me that it wouldn't work the way it was supposed to. I feel better now.
- July 4th, 2019, 1:33 am
- Forum: Everything
- Topic: Beginning C++ Tutorial 14
- Replies: 9
- Views: 4539
Re: Beginning C++ Tutorial 14
After carefully following the values while stepping slowly through the program, I realized that what I guessed in the above reply was wrong. The values were all as expected right up until I got this message: Exception thrown read access violation; This was nullptr. Here is what solved the problem: I...
- June 27th, 2019, 9:20 pm
- Forum: Everything
- Topic: Beginning C++ Tutorial 14
- Replies: 9
- Views: 4539
Re: Beginning C++ Tutorial 14
The issue seems to be that in the ComposeFrame function the Color object "c" is initialized with the r, g, and b values which are between 0 - 255, then when it jumps to the DrawCell function "c" contains (apparently) meaningless integer values with many digits. I am assuming that these values are ca...
- June 25th, 2019, 1:00 am
- Forum: Everything
- Topic: Beginning C++ Tutorial 14
- Replies: 9
- Views: 4539
Beginning C++ Tutorial 14
Stuck in Chili Tutorial 14a -please advise me what may be causing this problem: I got to the point in the tutorial where I'm "testing the grid" right before coding the Snake class; I downloaded the Tutorial 14 Framework and added the code exactly as shown in the Tutorial; The program crashes - actua...