Can someone explain this
Output should look like this
state a[24][80],b[24][80]; it is an array and blahvlah
enum state{dead,alive};
state update(int,state);
int nsum(int,int);
void initdead()
void display(state a[24][80])
void start()
_setcursortype(_NOCURSOR);
I will give 10 points to those who can teach me what are those
C++ problem?
enum state{dead,alive}; // an enumerated type called state with 2 values dead or alive
state update(int,state); // a function called update that accepts an int and the data type state, it also returns a state value
int nsum(int,int); // a function declaration that takes 2 numbers and returns 1
void initdead() // a function that takes no parameters and returns none, a method
void display(state a[24][80]) // a function that accepts an 2d array of states
void start() // a function header that accepts no parameters and returns none, a method
_setcursortype(_NOCURSOR); // this one is a function call to turn off the cursor passing int the constant value _NOCURSOR (conio.h?)
Can't really tell much more without real code.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment