User profile: Bourgond Aries

User info
User name:Bourgond Aries
Old user name:kefin
Name:Kevin
Location:Norway
Bio:Programming C++ since march 2012 or so.
History
Joined:
Number of posts:415
Latest posts:

For while loop
Why do you need the if statement? It means that the loop will exit before the limit. So why not just...

For while loop
Use the modulus operator % to check in a loop whether the value is dividable by the range 5-25. Set ...

Making a loop with input
[code] std::string in; while (in != "Goodbye") { std::cout << "Hello"; s...

Pointers
p is the address to the new integer that has the value 8. &p is the address to the variable p stored...

[Debate]Using the STL in Games
I'd say use the std:: library liberally. It's most likely much faster than your own code. The standa...