19 years, 2 months ago
Highlights
Hello,You need to use the "break" statement in your switch command. This tells the computer to leave the switch command and execute the next line of code.Example:switch (choose)…
19 years, 2 months ago
19 years, 3 months ago
Hello. I am currently making a pong type game using C++ and SDL. I am trying to output the player score to the screen. The player score is stored in an integer. I figured out ho…
19 years, 3 months ago
Hello. I am writing a small text RPG in C++ using Dev-C++. I have a room class: class Room { public: //for testing, later private string description; string room_id; Room(); //e…
20 years, 3 months ago
Hello. I am taking the plunge into OOP and am I am having some problems with my classes. I am using C++/Dev-C++. My project is broken into 6 different files: main.cpp - main fun…
20 years, 3 months ago
Latest Activity
See all in DiscussionsHello,You need to use the "break" statement in your switch command. This tells the computer to leave the switch command …
19 years, 2 months ago
Thanks for the replies. It helped tremendously. I was thinking along these same lines, but I didn't know the process …
19 years, 3 months ago
Hello. I am currently making a pong type game using C++ and SDL. I am trying to output the player …
19 years, 3 months ago