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

inserting files into complicated project

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



Joined: 20 Jul 2011
Posts: 375

View user's profile Send private message

inserting files into complicated project
PostPosted: Thu Jul 26, 2012 4:58 am     Reply with quote

I`m using MPLab v8.35, CCS complier v4.069. I`m creating a project with some files from CCS library. So I have written in my program rows like this :
Code:
#include <input.c>

Here is the question - should I load this input.c file into the Source files?
I`m asking because without loaded files(only the file with the main function) the complier compiles the program, but when I load them(into source files) it returns an error.
Thanks!
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Thu Jul 26, 2012 6:54 am     Reply with quote

you can only have one source file.... the one which contains your "main" function.

all other files (which i think you mean "drivers") have to be placed in "other files"

G
_________________
CCS PCM 5.078 & CCS PCH 5.093
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