CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

100 expecting declaration error

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
naren



Joined: 18 Nov 2016
Posts: 10

View user's profile Send private message MSN Messenger

100 expecting declaration error
PostPosted: Fri Nov 18, 2016 10:46 am     Reply with quote

I'm doing a project that uses pic18f452 where i need to apply stopwatch application. Since i need to use ccs compiler when i compile the program but it had been showing me 100 error on expecting declaration. What should i do?
_________________
naren
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Nov 18, 2016 11:18 am     Reply with quote

The error messages will give you the line number in the program for each
error. Post the code starting at that line number, and also post a few
lines of code that occur before that line.

Do this for the first two error messages that you get.
temtronic



Joined: 01 Jul 2010
Posts: 9245
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Nov 18, 2016 7:44 pm     Reply with quote

You should also look at the examples CCS supplies as there is a 'stopwatch' program, I think it's called 'ex_stwt.c' or something.... this is from memory.

Jay
naren



Joined: 18 Nov 2016
Posts: 10

View user's profile Send private message MSN Messenger

PostPosted: Sun Nov 20, 2016 3:55 pm     Reply with quote

thnx guys
_________________
naren
naren



Joined: 18 Nov 2016
Posts: 10

View user's profile Send private message MSN Messenger

NA
PostPosted: Sun Nov 20, 2016 4:05 pm     Reply with quote

I searched and it was there but i cannot access it. Can I know why?
_________________
naren
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group