That did it. Thanks!
Type: Posts; User: Bonum
That did it. Thanks!
Hello. I am trying to make something like an event or message system. There are Listeners, Messages and a Postman. The Listeners register themselves with the Postman to receive certain types of...
Did you use a library for graphics and mouse input? If so, it would be helpful to know which.
Ah, virtual! I had completely forgotten about that. Thank you all.
Yes, I suppose I should do that. :)
Hello. I am having a problem with a program. I have a bunch of classes all derived from the same base class. I want to loop through a vector of objects, calling a function in each. The problem is...
In your second while loop, i is already bigger than n2. So you could switch to:
while (n2 <= i) {