Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 15th, 2005, 11:52 AM   #1
Daniel_kd
Newbie
 
Daniel_kd's Avatar
 
Join Date: Apr 2005
Posts: 22
Rep Power: 0 Daniel_kd is on a distinguished road
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.
Daniel_kd is offline   Reply With Quote
Old Apr 15th, 2005, 11:56 AM   #2
Starter
Programmer
 
Starter's Avatar
 
Join Date: Apr 2005
Location: Estonia
Posts: 42
Rep Power: 0 Starter is on a distinguished road
Maybe post the code that you have? You might not have a function body enclosed ??
__________________
Uhuuu!
Starter is offline   Reply With Quote
Old Apr 15th, 2005, 11:58 AM   #3
peace_of_mind
Professional Programmer
 
peace_of_mind's Avatar
 
Join Date: Sep 2004
Location: Hell if I know most of the time
Posts: 439
Rep Power: 5 peace_of_mind is on a distinguished road
Send a message via MSN to peace_of_mind Send a message via Yahoo to peace_of_mind
Post your code and I'll see if I can help you out.
__________________
Amateurs built the ark
Professionals built the Titanic

peace_of_mind is offline   Reply With Quote
Old Apr 15th, 2005, 12:00 PM   #4
Daniel_kd
Newbie
 
Daniel_kd's Avatar
 
Join Date: Apr 2005
Posts: 22
Rep Power: 0 Daniel_kd is on a distinguished road
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.
Daniel_kd is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:29 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC