![]() |
| | #1 |
| Registered User Join Date: Aug 2001
Posts: 207
| 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 | |
| | #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 | |
| | #3 |
| Guest
Posts: n/a
| Thanks Garfield. Now I'm being told more or less how to do it (not more or less, totally ) |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
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 |