this is my code
Code:
#include <iostream.h>
#include <stdlib.h>
int main()
{
int regio;
cout <<" (c) copyright www.gratischeck.web1000.com \n";
cout <<"beantwoord de volgende vragen\n";
cout <<"belt uw in de regio of buiten de regio het meeste\n";
cout <<"regio : 1 buiten regio : 2 \n" ;
cin>>regio;
goto callreg;
system("pause");
int callreg();
{
if (regio = 1)
{
cout <<"uw belt in de regio het meest\n";
goto pause;
}
if (regio = 2) ;
{
cout <<"uw belt het meeste niet in uw regio\n";
goto pause;
}
}
int pause()
{
system("pause") ;
}
i get these error messages
c:\docume~1\php---~1\mydocu~1\tel\untitl~1.cpp: In function `int main()':
c:\docume~1\php---~1\mydocu~1\tel\untitl~1.cpp:31: parse error before `{'
c:\docume~1\php---~1\mydocu~1\tel\untitl~1.cpp:21: label `pause' used but not defined
c:\docume~1\php---~1\mydocu~1\tel\untitl~1.cpp:13: label `callreg' used but not defined
i can't find the problem