Well that one works fine, aside from the fact that i had to throw in a pause to stop it from exiting instantaneously. But why is my bigger version not working then? I tried including windows.h, but it isn't helping.
The program now looks like this:
and the header:
using namespace std;
char sentence1 = "Why ain't this working!?";
int length = strlen(sentence1);
printout(sentence1, length, 100);
and it still is not working. Im just getting a "Printout undeclared(first use of this function)"?
inline void printout(char sentence, int length, int interval);
inline void printout(char sentence, int length, int interval)
for (x=0; x<length; x++)
I'm afraid not.