![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2005
Posts: 22
Rep Power: 0
![]() |
solved - Error before token "{"
I had created a c codde using to c files and one h. It was working perfect I made some changes to it and it started giving me an error like this "Error before token "{"" reffering at the { after the main(). I can't see what is wrong or how I can correct this, Can anyone help me. Thanx in advance.
(I also tried using the old files but it had the same result) Last edited by Daniel_kd; Apr 15th, 2005 at 12:00 PM. |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Apr 2005
Location: Estonia
Posts: 42
Rep Power: 0
![]() |
Maybe post the code that you have? You might not have a function body enclosed ??
__________________
Uhuuu! |
|
|
|
|
|
#3 |
|
Professional Programmer
|
Post your code and I'll see if I can help you out.
__________________
Amateurs built the ark Professionals built the Titanic |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Apr 2005
Posts: 22
Rep Power: 0
![]() |
I found it. it was a typo in the .h file which I included and thats why it said error before token "{" there was no code to show me.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|