My compiler says the Declaration syntax error is at (88,2) which is one of the brackets?

I don't really know what could be wrong. Help please. I'm really new at this.

#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <conio.h>

#define STD_HOURS 40.0
#define OT_RATE 1.5

int clock[5] = {98401, 526488, 765349, 34645, 127615};                              /*initialized arrays clock and wage */
float wage[5] = {10.60, 9.75, 10.50, 12.25, 8.35};

float gross [5];         /* employees gross income */
float hours[5];          /* number of hours employee worked */
float overtime[5];       /* hours of overtime worked */

int i;

main ()
{

void get_hours (void);
void calculate_gross (void);
void calculate_overtime (void);
void display_output (void);
int loop_check (void);
int answer;


	do
	{
   get_hours ();
   calculate_gross ();
   calculate_overtime ();
	display_output ();

   answer = loop_check ();
   }
   while( answer == 1);

}


/* Has user input hours worked */

void get_hours (void)
{
   int i;

		printf ("Clock#    Wage   Hours\n");

		for ( i = 0; i < 5; ++i)
         	{
            printf("%6i   %5.2f   ",clock[i], wage[i]);
            scanf("%f", &hours[i]);
            system("cls");
            }
}

/* Calculates gross pay */

void calculate_gross (void)
{
	int i;

	for(i = 0; i < 5; ++i)
   {
 	gross[i] = (hours[i] > STD_HOURS) ? wage[i]*STD_HOURS+(hours[i]-STD_HOURS)*OT_RATE*wage[i] : wage[i]*hours[i];
   }
{

/* Calculates overtime */

void calculate_overtime (void)
{
	int i;

   for(i = 0; i < 5; ++i)
   {
     overtime[i] = (hours[i] > STD_HOURS) ? hours[i] - STD_HOURS : 0;
   }
}

/* Displays output */

void display_output (void)
{                                                              <-----RIGHT HERE (88,2)
   	printf("-------------------------------------------\n");
      printf("Clock#    Wage   Hours     OT    Gross \n");
      printf("-------------------------------------------\n");

      for(i = 0; i < 5; ++i)
      {
      	printf("%6i   %5.2f   5.1f   %4.1f   %6.2f\n", clock[i], wage[i], hours[i], overtime[i], gross[i]);
      }
}


int loop_check (void)
{
int answer;

 printf("\nWould you like you enter different hours? (1=yes/2=no)");
      scanf("%i", &answer);
      return (answer);

}

Fixed it. { and } look very similiar.

Learn this basic rule of putting brackets .... This will make coding less of a night mare
Each time you introduce a new if/ for in a function press tab...
For example

void func1()
{
         for(;;)
         {
                  if()
                  {
                   
                   }
         }
}

Your code is terribly indented :S...though it didn't look a starter's code...
Anyways, I think you got the wrong brace at line no 71.

Always use int main(void) as the standard main function call, with return 0; at the end.
Also don't use conio.h as it is outdated (used for Turbo C)
Proper coding will always help you to lessen and also easily identify errors in your code...

Happy coding :)

Yea that was the problem thanks :D.

The awful indentation is because for some reason when I copy/paste code in the post box it gets all mess up. This is probably because there is a better way than copy/pasting code? How do I get it to like like it is in my compiler?

I don't feel that copying a properly indented code from your editor and pasting it to the post area, is in any way, going to "mess up" all.
By the way, which editor are u using ????

Borland C++. Its my dads and is preeeetty ancient.

Yea I just tried it again. Weird. It gets all messed up when I copy/paste.

#include "stdio.h"
#include "conio.h"
#define p printf
#define s scanf
main(){
       //variables
       int NOH;
       int RPH;
       int SSSdeduction;
       int PhilHealth;
       int PagIbig;
       int totalDeductions;
       int tax;
       int netPay;
       int grossPay;
       int basicPay;
       int honorarium;
       int overtimeHours;
       int regularPay;
       int overtimeRate;
       int overtimePay;

       // output && computations

       p("----------------------------------------------------------------\n\n\n");
       p("\t\t\t Payroll System\n\n\n");
       p("----------------------------------------------------------------\n\n\n");
       p("\nEnter number of hours worked: \t");
       s("%d",&NOH);

       p("\n\nRate per hour: \t\t\t");
       s("%d",&RPH);

       overtimeRate=RPH*1.25;
       p("\n\nOvertime Rate: \t\t\t%d",overtimeRate);

       {
       if(NOH>80)

                  overtimeHours=NOH-80;

       else 
            overtimeHours=0;
            }
       p("\n\n\nOvertime Hours: \t\t%d",overtimeHours);



       regularPay=(NOH-overtimeHours)*RPH;     
       p("\n\n\nRegular Pay: \t\t\t%d",regularPay);


       overtimePay=overtimeHours*overtimeRate;
       p("\n\n\nOvertime Pay: \t\t\t%d",overtimePay);


       basicPay=regularPay+overtimePay;
       p("\n\n\nBasic Pay: \t\t\t%d",basicPay);

       {
       if(basicPay>30000)

                         honorarium=2000;   

       else 
            honorarium=1000;
            }

       p("\n\n\nHonorarium: \t\t\t%d",honorarium);



       grossPay=basicPay+honorarium;
       p("\n\n\nGross Pay: \t\t\t%d",grossPay);


       p("\n\n\n\n--------------------------------------------------------\n\n\n");
       p("\t\t\t Salary Deductions\n\n\n");
       p("----------------------------------------------------------------\n\n");


       tax=grossPay*.15;
       p("\n\n\nTax: \t\t\t\t%d",tax);


       p("\n\n\nSSS: \t\t\t\t");
       s("%d",&SSSdeduction);

       p("\n\n\nPhilHealth: \t\t\t");
       s("%d",&PhilHealth);

       p("\n\n\nPagIbig: \t\t\t");
       s("%d",&PagIbig);

       totalDeductions=tax+SSSdeduction+PhilHealth+PagIbig;
       p("\n\n\nTotal Deductions: \t\t%d",totalDeductions);

       netPay=grossPay-totalDeductions;
       p("\n\n\nNetpay: \t\t\t%d",netPay);

       getch();
       }
//end

pls. help me here

***my compiler isTURBO C

#include<iostream.h>
#include<stdio.h>
#include<conio.h>
#include<iomanip.h>
#include<process.h>
int sum=0,sum1=0,sum2=0,l,r,sum3=0;

char square[10] = {'o','1','2','3','4','5','6','7','8','9'};

void main()
{
clrscr();

void pg3();

pg3();

void pg1();

pg1();

void pg4();

pg4();

int checkwin();
void board();

getch();

}

void pg3()
{
cout<<"\n\n";
cout<<"\n\t\t@@@@ @@@@ @ @ @@@@ @ @ @@@@@ @@@@ @@@@ \n";
cout<<"\n\t\t@ @  @ @@ @@ @ @ @ @@ @\n";
cout<<"\n\t\t@  @ @ @ @ @ @@@ @ @  @ @@@ @@@\n";
cout<<"\n\t\t@  @ @ @  @ @ @ @ @ @ @ @\n";
cout<<"\n\t\t@@@@ @@@@ @ @ @ @@@@ @ @@@@ @ @\n\n\n\n\n\n\n\n";
cout<<"\n\t\t\t\t@@@@ @@@@ @@@@ @@@@@ @@@@ @@@@ @@@@@\n";
cout<<"\n\t\t\t\t@ @ @ @ @  @ @  @ @ @\n";
cout<<"\n\t\t\t\t@@@ @@@ @ @ @ @@@ @  @ \n";
cout<<"\n\t\t\t\t@  @ @ @ @ @@ @ @  @ \n";
cout<<"\n\t\t\t\t@  @ @ @@@@ @@@ @@@@ @@@@ @ \n\n\n\n\n\n\n";
cout<<"\n\n\n\n";
cout<<"\n\t\t\t\tCREATED BY:";
cout<<"\n\t\t\t\tSAMRAH ZAKI ANSARI XI B";
cout<<"\n\t\t\t\tPALAK TAKHTANI XI A";
getch();
}

void pg1()

{
clrscr();
cout<<"\n";
for(int m=1;m<2:++m)
{
for(int n=1;n<=10;++n)
{
cout<<"¤";
}
cout<<"\n";
}
for(m=1;m<8;++m)
{
cout<<"¤¤\n";
}
cout<<"\n\n\n\t""WELCOME TO WORLD'S LARGEST AMUSEMENT PARK \n\n";
cout<<"\n\n\n\n\n\n";
//Program to print heart pattern
 int n,i,j;
 n=20;
 if(n%2==0)
  n++;
 cout<<"\n\n"<<"\tM A G I C  K I N G D O M\n";
 for(i=0;i<n;i++)
 {
  for(j=0;j<n;j++)
  {
   if(i==0&&(j>=n/5&&j<=n/2-n/5)||i==0&&(j>=n/2+n/5&&j<=(n-1)-n/5))
    cout<<"* ";
   else if(i>0&&i<=n/5&&(j==n/5-i||j==n/2+n/5-i||j==n/2-n/5+i||j==(n-1)-n/5+i))
    cout<<"* ";
   else if((i>n/5&&i<=n/2)&&(j==0||j==n-1))
    cout<<"* ";
   else if(i>n/2&&(j==i-n/2||j==(n-1)-(i-n/2)))
    cout<<"* ";
   else cout<<"  ";
  }
  cout<<"\n";
 }
 cout<<"\tM A G I C  K I N G D O M\n";
 getch();
}

void pg4()
{ clrscr();
float c,d,e,f,g;
cout<<"\n\n\n\n";
cout<<"\t                 ENTRY FEES                       \n";
cout<<"\t ¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥\n";
cout<<"\t|---------------------|---------------------|\n";
cout<<"\t|               |    PRICES      |\n";
cout<<"\t|    CRITERIA   |----------------|\n";
cout<<"\t|              |  CHILDREN  |  ADULTS  |\n";
cout<<"\t|-----------------|------------|------------|\n";
cout<<"\t|              |      |        |\n";
cout<<"\t| HEIGHT BETWEEN 3.5 TO 5 FEET | ₹500/- | ₹550/- |\n";
cout<<"\t|              |      |        |\n";
cout<<"\t| HEIGHT ABOVE 5 FEET  | ₹600/- | ₹800/- |\n";
cout<<"\t|              |      |        |\n";
cout<<"\t| SENIOR CITIZENS (ABOVE 60 YRS) | ₹500/- |\n";  
cout<<"\t|              |      |        |\n";
cout<<"\t|---------------------|---------------------|\n\n\n";
cout<<"\t               *******************************\n\n";
cout<<"\t    HURRY !!!!! CHILDREN BELOW 3.5 FEET GET FREE ENTRY!!!!!!!!\n\n";
cout<<"\t *********************************\n\n";

cout<<"\n ENTER NO.OF CHILDREN BETWEEN HEIGHT 3.5 TO 5 FEET";
cin>>c;
cout<<"\n ENTER NO.OF ADULTS BETWEEN HEIGHT 3.5 TO 5 FEET";
cin>>d;
cout<<"\n ENTER NO.OF CHILDREN ABOVE HEIGHT 5 FEET";
cin>>e;
cout<<"\n ENTER NO.OF ADULTS ABOVE HEIGHT 5 FEET";
cin>>f;
cout<<"\n ENTER NO.OF SENIOR CITIZENS";
cin>>g;
sum=((c*500)+(d*550)+(e*600)+(f*800)+(g*500));

clrscr();

cout<<"\n\n\n";
for(int l=1;l<4;++l)
cout<<"\n";
for(int i=1;i<3;++i)
{
for(int j=1;j<81;++j)
cout<<"¤";
}

int a;
cout<<"\n\t\t\t\t\tLIVE THE THRILL \n\n\n\n\n\n\n\n\nENTER INTO THE WORLD OF RIDES

\n\n\n\n\n\n\t\t1.LAND PARADISE\n\n\n\n\n\t\t2.WATER PARADISE\n";
for(int q=1;q<4;++q)
cout<<"\n";
for(int h=1;h<3;++h)
{
for(int k=1;k<81;++k)
cout<<"¤";
}
cout<<"ENTER YOUR CHOICE (1/2)\n";
cin>>a;
switch(a) //land water choice
{
case 1:
{
clrscr();
start:
{
cout<<"\t        LAND PARADISE\n";
cout<<"\t      ^^^^^^^^^^^^^^^^^^^^ \n\n";
cout<<"|-----------------|-------------------|------------------|\n";
cout<<"| 1.KIDS RIDES    | 2.ADULT RIDES    | 3.FAMILY RIDES    |\n";
cout<<"|-----------------|-------------------|------------------|\n";
cout<<"| 1.BIG APPLE ₹300/-| 1.SHOT N DROP ₹400/-|1.MONSTERS IN MIST ₹450/-|\n";
cout<<"| 2.HAPPY SLEY ₹325/-|2.TOP SPIN ₹425/-|2.CRAZY CUPS ₹475/-|\n";
cout<<"| 3.           ₹350/-|3.ENTERPRISE ₹450/-|3.AQUA DRIVE ₹500/-|\n";
cout<<"| 4.CATERPILLAR ₹375/-|4.RAINBOW ₹475/-|4.PRABAL THE KILLER ₹525/-|\n";
cout<<"| 5.YARD TRAIN ₹400/-|5.ZYCLONE ₹500/-|5.MIRROR MAZE ₹550/-|\n";
cout<<"| 6.BOAT RIDE ₹450/-|6.HOOLA LOOP ₹550/-|6.HIGHWAY ₹600/-|\n";
cout<<"|-----------------|-------------------|------------------|\n";

int k,b;
cout<<"\nENTER YOUR CHOICE \n1.KIDS RIDES\n2.ADULT RIDES\n3.FAMILY RIDES\n";
cin>>b;
switch(b)     //land choice
{
case 1:
if(b==1)
{ cout<<"\nCHOOSE YOUR RIDE(1-6)";
cin>>k;
switch(k)    //sub choice
{
case 1:
{if(k==1)
sum1=sum1+300;}
case 2:
{if(k==2)
sum1=sum1+325;}
case 3:
{if(k==3)
sum1=sum1+350;}
case 4:
{if(k==4)
sum1=sum+375;}
case 5:
{if(k==5)
sum1=sum1+400;}
case 6:
{if(k==6)
sum1=sum1+450;}
} }

case 2:
if(b==2)
{
cout<<"\n CHOOSE YOUR RIDE(1-6)";
cin>>k;
switch(k)
{
case 1:
{ if(k==1)
sum1=sum1+400;}
case 2:
{if(k==2)
sum1=sum1+425;}
case 3:
{ if(k==3)
sum1=sum1+450;}
case 4:
{ if(k==4)
sum1=sum1+475;}
case 5:
{ if(k==5)
sum1=sum1+500;}
case 6:
{ if(k==6)
sum1=sum+550;}
}
}

case 3:
if(b==3)
{
cout<<"\n CHOOSE YOUR RIDE(1-6)";
cin>>k;
switch(k)
{
case 1:
{if(k==1)
sum1=sum1+450;}
case 2:
{ if(k==2)
sum1=sum1+475;}
case 3:
{ if(k==3)
sum1=sum1+500;}
case 4:
{ if(k==4)
sum1=sum1+525;}
case 5:
{ if(k==5)
sum1=sum1+550;}
case 6:
{ if(k==6)
sum1=sum1+600;}
}
} } }

char h;
cout<<"\n DO YOU WANT TO CONTINUE? PRESS Y OR N";
cin>>h;
if(h=='y'||h=="Y")
goto start;

else
{
cout<<"\n PRESS 1 TO ENTER FOOD ZONE\n PRESS 2 TO ENTER WATER PARADISE\n PRESS 3 TO 

EXIT\n";
cin>>r;
if(r==1)
{
starter:
{
cout<<"\n\n\n";
cout<<"  \t\t   SNACK ZONE         \n";
cout<<'  \t\t¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥\n\n\n";
cout<<"\t\t1.FRENCH FRIES \t\t₹40/-\n\t\t2.VEG KOTHE\t\t\t₹60/-\n\t\t3.PASTA \t\t\t

₹85/-\n\t\t\t4.GRILLED SANDWICH\t\t₹90/-\n\t\t\t5.VEG CUTLET\t\t\t₹50/-\n\t

\t6.COFFEE/TEA \t\t\t₹55/-\n\t\t\t7.PIZZA\t\t\t₹150/-\n";
cout<<"\n WHAT WOULD YOU LIKE TO HAVE?";
cout<<"\n ENTER THE CODE TO PLACE YOUR ORDER";
cin>>l;
char t;
cout<<”WOULD YOU LIKE TO PLAY A GAME OF TIC TAC TOE WHILE YOU WAIT FOR YOUR BILL??

(Y/N)”;
cin>>t;
if((t== ‘y’)||(t==’Y’))
goto tictactoe;
else 
{ summation:
switch(l)
{
case 1:
{ if(l==1)
sum2=sum2+40;}
case 2:
{ if(l==20
sum2=sum2+60;}
case 3:
{ if(l==3)
sum2=sum2+85;}
case 4:
{ if(l==4)
sum2=sum2+90;}
case 5:
{ if(l==5)
sum2=sum2+50;}
case 6:
{ if(l==6)
sum2=sum2+55;}
case 7:
{ if(k==7)
sum2=sum2+150;}
} }

char m;
cout<<"\nWANT TO CONTINUE";
cin>>m;
if(m=='y'||m=='Y')
goto starter;
else
{ cout<<"\n THANKS FOR VISITING US";
cout<<"\n\nPRESS ANY KEY TO REACH BILLING COUNTER";
getch();

bill:
{
clrscr();
cout<<"\n\n\n";
cout<<"\t|-------------------------------------------------|\n";
cout<<"\t|                   BILL                          |\n";
cout<<"\t|₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹₹|\n";
cout<<"\t|-----------------------|-------------------------|\n";
cout<<"\t|  CRITERIA        |        TOTAL AMOUNT          |\n";
cout<<"\t|               |                |\n";
cout<<"\t|-----------------------|-------------------------|\n";
cout<<"\t|  ENTRY FEES       |  "<<setw(6)<<₹<<sum<<"          |\n";
cout<<"\t|               |                |\n";
cout<<"\t| PRICES FOR RIDES  |  "<<setw(6)<<₹<<sum1+sum3<<"     |\n";
cout<<"\t|               |                |\n";
cout<<"\t| PRICES FOR FOOD   |  "<<setw(6)<<₹<<sum2<<";         |\n";
cout<<"\t|               |                |\n";
cout<<"\t|-------------------|----------------------------------|\n";
cout<<"\t|               |                |\n";
cout<<"\t| NET PRICE         |  "<<setw(6)<<₹<<sum+sum1+sum2+sum3<<"       |\n";
cout<<"\t|               |                |\n";
cout<<"\t|-------------------|----------------------------------|\n";

cout<<"\t ####################################################\n";
cout<<"\n\n\n\n";
cout<<"\t       THANKS FOR VISITING \n";
cout<<"\t           HAVE A NICE DAY \n";
cout<<"\n\n\n\n";
cout<<"\t ####################################################\n";

getch();
exit(0);
} } }

if(r==2)
{
water:
{

int s,t;
cout<<"\n\n\n\n";
cout<<"\t\t          WATER PARADISE \n";
cout<<"\t\t ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n";
cout<<"\t\t|---------------------|----------------------|\n";
cout<<"\t\t|   KIDS SLIDES       |   ADULT SLIDES       |\n";
cout<<"\t\t|---------------------|----------------------|\n";
cout<<"\t\t| 1.JUST SLIDES       | 1.WATER OVERLOAD     |\n";
cout<<"\t\t|---------------------|----------------------|\n";
cout<<"\t\t| 2.MAZE OF SLIDES    | 2.DISCO SLIDES       |\n";
cout<<"\t\t|---------------------|----------------------|\n";
cout<<"\t\t| 3.WATER BUCKETS     | 3.CRAZY WATER        |\n";
cout<<"\t\t|---------------------|----------------------|\n";

cout<<"\n\t\tENTER CHOICE\n\n\t1.KIDS SLIDES\n\t2.ADULT SLIDES\n";
cin>>s;
switch(s)
{
case 1:
{ cout<<"\n CHOOSE YOUR SLIDE(1-3)\n";
cin>>t;
if(t==1)
sum3=sum3+600;
if(t==2)
sum3=sum3+650;
if(t==3)
sum3=sum3+700;
}

case 2:
{ cout<<"\nCHOOSE YOUR SLIDE(1-3)\n";
cin>>t;
if(t==1)
sum3=sum3+700;
if(t==2)
sum3=sum3+750;
if(t==3)
sum3=sum3+800;
}
getch();}
} } }

char u; int v;
cout<<"\nWANT TO CONTINUE?\n";
cin>>u;
if(u=='y'||u=='Y')
goto water;
else
{
cout<<"\nPRESS\n\n\t1.LAND SLIDES\n\t2.FOOD ZONE\n\t3.EXIT\n";
cin>>v;
 switch(v)
{ 
case 1:
goto start;
case 2:
goto starter;
case 3:
goto bill;
} } }
case 2:
goto water;
}

if(r==3)
{cout<<"\n\nPRESS ANY KEY TO REACH BILLING COUNTER";
goto bill;
}
getch();

//tic tac toe game
tictactoe:
{
int player = 1,z,choice;
char mark;
do{
board();
player=(player%2)?1:2;
cout << "Player " << player << ", enter a number:  ";
cin >> choice;
mark=(player == 1) ? 'X' : 'O';
if (choice == 1 && square[1] == '1')
square[1] = mark;
else if (choice == 2 && square[2] == '2')
square[2] = mark;
else if (choice == 3 && square[3] == '3')
square[3] = mark;
else if (choice == 4 && square[4] == '4')
square[4] = mark;
else if (choice == 5 && square[5] == '5')
square[5] = mark;
else if (choice == 6 && square[6] == '6')
square[6] = mark;
else if (choice == 7 && square[7] == '7')
square[7] = mark;
else if (choice == 8 && square[8] == '8')
square[8] = mark;
else if (choice == 9 && square[9] == '9')
square[9] = mark;
else
{cout<<"Invalid move ";
player--;
cin.ignore();
cin.get();
}
z=checkwin();
player++;
}while(z==-1);
board();
if(z==1)

cout<<"==>\aPlayer "<<--player<<" win ";
else
cout<<"==>\aGame draw";
cin.ignore();
cin.get();
goto  summation;
}

/*********************************************

    FUNCTION TO RETURN GAME STATUS
    1 FOR GAME IS OVER WITH RESULT
    -1 FOR GAME IS IN PROGRESS
    O GAME IS OVER AND NO RESULT
**********************************************/

int checkwin()
{
    if (square[1] == square[2] && square[2] == square[3])

        return 1;
    else if (square[4] == square[5] && square[5] == square[6])

        return 1;
    else if (square[7] == square[8] && square[8] == square[9])

        return 1;
    else if (square[1] == square[4] && square[4] == square[7])

        return 1;
    else if (square[2] == square[5] && square[5] == square[8])

        return 1;
    else if (square[3] == square[6] && square[6] == square[9])

        return 1;
    else if (square[1] == square[5] && square[5] == square[9])

        return 1;
    else if (square[3] == square[5] && square[5] == square[7])

        return 1;
    else if (square[1] != '1' && square[2] != '2' && square[3] != '3'
            && square[4] != '4' && square[5] != '5' && square[6] != '6'
          && square[7] != '7' && square[8] != '8' && square[9] != '9')

        return 0;
    else
        return -1;
}

/*******************************************************************
     FUNCTION TO DRAW BOARD OF TIC TAC TOE WITH PLAYERS MARK
********************************************************************/

void board()
{
    clrscr();
    cout << "\n\n\tTic Tac Toe\n\n";

    cout << "Player 1 (X)  -  Player 2 (O)" << endl << endl;
    cout << endl;

    cout << "     |     |     " << endl;
    cout << "  " << square[1] << "  |  " << square[2] << "  |  " << square[3] << 

endl;

    cout << "_____|_____|_____" <<endl;
    cout << "     |     |     " << endl;

    cout << "  " << square[4] << "  |  " << square[5] << "  |  " << square[6] << 

endl;

    cout << "_____|_____|_____" << endl;
    cout << "     |     |     " << endl;

    cout << "  " << square[7] << "  |  " << square[8] << "  |  " << square[9] << 

endl;

    cout << "     |     |     " << endl << endl;
}

this is my code
it shows declaration syntax error in line 508i.e int checkwin()
what to do??

@sa_2, on line 282 you mixed single quotes with double quotes. The syntax highlighting shows it right here:

cout<<'  \t\t¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥\n\n\n";

Next time start a new question, so more people can help you.

commented: Nice +15
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.