warning cannot create pre compiled header: initialized data in header
i get this header when i comple my cpp in borland
this are my codes
my main.cpp
Code:
#include <iostream.h>
#include <conio.h>
#include "functies.h"
void main()
{
cout << "Druk op <Enter> om het spel te starten." << endl;
speelveld();
getch();
}
my header (functies.h)
Code:
int i = 0;
void speelveld(void)
{
gotoxy(1,1);
for(i = 1 ; i <= 80 ; i++ )
{
cout << "*";
}
for(i = 1 ; i <= 24 ; i++ )
{
gotoxy(1,i);
cout << "*";
}
gotoxy(1,24);
for(i = 1 ; i <= 80 ; i++ )
{
cout << "*";
}
gotoxy(24, 1);
for (i = 1 ; i <= 24 ; i++)
{
gotoxy(80,i);
cout << "*";
}
}
i am very stuck please help
thx already