Search:
Type: Posts; User: prattcmp
Search:
Search took 0.00 seconds.
-
I moved it from here:
#include <iostream>
class Enemy
{
public:
-
I am used to another forum that uses that tag. Where do I move srand to so that it still generates a random number every time?
-
Ok. I figured out the first question I asked. Now I am onto the method.
I want to change:
[C++]
int Enemy::attack()
{
int hit;
srand(time(NULL));
-
Ok, I am a bit confused. How do I make a derived class from this:
#include <iostream>
class Enemy
{
public:
-
Umm. That doesn't really help much. Explain a bit further please?
-
Yes, I do want a GUI. With a basic white background and the words to be in a corner as a chat type thing.
-
I keep getting this error whenever I compile my program. I am using XCode and am not sure of what to do or how to fix this error.
#define TIMER_H_DEF
#include <iostream>
#include <string>...
-
Thanks. That seemed to fix it. But do you know how to make my code into an application? Or is that too complicated for you to tell me?
-
I am new to programming and don't know what is wrong. I've tried to fix it for about a day now.
|
Click Here to Expand Forum to Full Width
|