Hello everyone.
i put this on windows programming cause i think "conio/conio.h" is w\ windows right??
i used conio in this class of mine and i get this error all the time with gotoxy() function and textcolor();
this is the class:
//davezz !@!@*!)(@*)!*@!*(@!*@(
#include<iostream>
#include<string>
#include<conio.h>
#include<stdio.h>
using namespace std;
void center(char title[10], int y, int c);
void center(char title[10], int y, int c)
{
gotoxy(40-strlen(title)/2,y);
textcolor(c);
printf("%s",title);
textcolor(7);
}
any ideas are really appreciated. ^^
by the way, just ignore the comments XD
thanks Duoas!! really helps