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

add source file problem..

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



Joined: 11 Nov 2016
Posts: 8

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

add source file problem..
PostPosted: Thu Nov 17, 2016 9:43 pm     Reply with quote

main
┌source
│ ┌main
│ │ └main.c
│ │ └main.h
│ │ └18F67J10.h
│ │ └stdlib.h
│ │ └stddef.h
│ │ └string.h
│ │ └ctype.h
│ │ └math.h
│ └ adc_ad420
│ .. └adc_ad420.c

The ccs file window is displayed as above.

Is there any way to put adc_ad420.c in main?
Ttelmah



Joined: 11 Mar 2010
Posts: 19338

View user's profile Send private message

PostPosted: Fri Nov 18, 2016 2:16 am     Reply with quote

What gets displayed here, is completely dependant on where _you_ include the files. Find where you include math.h, and then #include your adc_ad420 file on the line after. Then in the project options, 'include files', it looks as if you must have a file 'adc_ad420' being set to be included in the project here. Remove this.
seyoung



Joined: 11 Nov 2016
Posts: 8

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

PostPosted: Sun Nov 20, 2016 9:53 pm     Reply with quote

@Ttelmah

Thank you for reply.

and your reply has solved my problem.
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