C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-21-2001, 01:39 PM   #1
Registered User
 
Join Date: Aug 2001
Posts: 207
Unhappy How to implement several source files?

Gades wrote:
What I want to have, is a shorter code, so I thought about dividing it in parts; like menus and calculations

***************

Salem wrote:
This is a good idea - whay you would end up with is several source files containing the code, and perhaps a single .h file describing the interfaces

***************

Now I want to implement the calculations in my program, but separated as I said.

I like Salem's idea, but I don't know how to "make it" (I can't think of an Enlish expression, sorry).

Any help?
__________________
Click me!
Gades is offline   Reply With Quote
Old 11-21-2001, 01:45 PM   #2
the Corvetter
 
Join Date: Sep 2001
Posts: 1,584
What you would basically do is connect the source files (.c) to each other via a header file (.h). You would, summed up, aquire this by using the #include (don't forget with double quotes, not < and >).

--Garfield
__________________
1978 Silver Anniversary Corvette
Garfield is offline   Reply With Quote
Old 11-21-2001, 02:40 PM   #3
Unregistered
Guest
 
Posts: n/a
Thanks Garfield.

Now I'm being told more or less how to do it (not more or less, totally )
  Reply With Quote
Old 11-21-2001, 02:44 PM   #4
Registered User
 
Join Date: Aug 2001
Posts: 207
Obviously that was me, I forgot to login.

Thanks again
__________________
Click me!
Gades is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Load flash movies directly from any source (no temporary files) Poche C# Programming 10 06-04-2009 08:45 PM
Working with muliple source files Swarvy C++ Programming 1 10-02-2008 08:36 AM
pseudocode for multiple source files Calef13 C++ Programming 4 11-13-2007 09:07 AM
added start menu crashes game avgprogamerjoe Game Programming 6 08-29-2007 01:30 PM
Linker errors - Multiple Source files nkhambal C Programming 3 04-24-2005 02:41 AM


All times are GMT -6. The time now is 07:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22