• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

C2143 error and I can't find it

 
theodore sklavenitis
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Compiler tells me that i have a C2143 error on line 112 and after looking at it for hours i cant figure it out.Anyone has any idea what the problem might be
 
theodore sklavenitis
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NVM got it.Damn braces
 
Campbell Ritchie
Sheriff
Pie
Posts: 49466
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was it line 92? That compiler obviously can't count.
 
Dragos Nica
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Was it line 92? That compiler obviously can't count.


I think it was at line 107, closing bracket for function print()
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic