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 support@ccsinfo.com

multiple sourse files clarification

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



Joined: 16 Jun 2004
Posts: 5

View user's profile Send private message Send e-mail

multiple sourse files clarification
PostPosted: Wed Dec 08, 2004 3:18 am     Reply with quote

Hai
I am a new user of CCS and a beginner to C compilers for pic.
I am using ccs from MPLAB. I have installed the latest plugin also.
like some other compilers (keil for 8051) can we use multiple sourse files in MPLAB project?
When I had attached different sourse files to the project in mplab it is not working, but when I included the other sourse (.C) files into main file it is working.
What is wrong? is CCS supports only include method other than multiple files for project or it is some other mistake by me?

Picstudent
StuH_CC



Joined: 07 May 2004
Posts: 16
Location: Shropshire, UK

View user's profile Send private message

PostPosted: Wed Dec 08, 2004 5:35 am     Reply with quote

Unfortunately, "#include"ing source files into the main file is the only way of using multiple source files in CCS (that I know about!) Mad

Does anyone know if "real" project support is ever likely to happen?
Skipper



Joined: 20 Nov 2004
Posts: 12
Location: Austria

View user's profile Send private message Send e-mail

PostPosted: Wed Dec 08, 2004 8:14 am     Reply with quote

In "Source File" you can only set one xx.c File - the main.c File.
With #include xxx.c you can include other c-Files.
The other c-Files I put in "Other Files" so you can see it in MPlab and edit it. The Header Files in "Header Files".

Thatīs the way I am working with MPLAB and CCS.

Greetings !!!!

Skipper
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Dec 08, 2004 8:47 am     Reply with quote

Quote:
Does anyone know if "real" project support is ever likely to happen?


Read on their website. I saw something a while back.
picstudent



Joined: 16 Jun 2004
Posts: 5

View user's profile Send private message Send e-mail

PostPosted: Thu Dec 09, 2004 10:45 pm     Reply with quote

hai everybody
Thanks for the clarifications.
I have wasted a lot of time trying to work as in Keil.
There examples are also showing include method only.
Picstudent
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