I am having some problems with my C++ at home.
I kinda need to do a project here for me to submit it for my exam but my C++ is starting to be a big pain in the neck...
Anyways, my first problem is that it textcolor as an invalid command line...
Here's my code...
Spoiler:
#include <iostream.h>
#include <conio.h>
int main(void)
{
int x;
for(x=1;x<=5;x++){
// y=x;
textcolor(x);
//cout<<"COLOR"<<endl;
cprintf("COLOR");
cout<<"\n";
}
return 0;
}
I searched around Google and I found that I have a debug problem...
How can I solve this? :\
What's this for? You don't seem to be using y at any point. Apart from that, twocows is right, you'll have to look at conio.h and its respective library, especialy if it's one you made yourself
Originally Posted by Freestyle Farfetch'd
[ Original Post ]
What's this for? You don't seem to be using y at any point. Apart from that, twocows is right, you'll have to look at conio.h and its respective library, especialy if it's one you made yourself