C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-11-2005, 07:05 AM   #1
Registered User
 
Join Date: Aug 2005
Posts: 80
Question About External Files (Beginner)

I'm new to programming and I'm trying to compile a C program. I'm using Borland C++ 5.01 on Windows XP.

I can get the program to compile but it doesn't run correctly. I'm not sure if I'm including all of the correct files in the project. Here is what I'm doing:

I open up Borland and create a new project. I add the following nodes to the project using borland:
getopt.c, getopt.h, chkarc.c, chkval.c, intsmi.c, main.c, pretco.c,
putch.c, resmi.c, setatomgr.c, tcosmi.c, getopt.h.

In addition to the nodes added through Borland, I place the following include files in the directory where my source is:
chemical.dec, prefer.def, atomgr.inc, atsymb.inc, atomgr.par

I run the program and it compiles. My question is should I actually add the include files in Borland as nodes instead of just placing them in the directory where my source is?
jamez05 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Novice question on header files hern C++ Programming 1 07-30-2005 10:11 AM
Data Question about Reading Files: Encapsulated Inventory Program in C++ goron350 C++ Programming 26 06-15-2005 02:38 PM
external files DoItAllMom115 C++ Programming 1 04-13-2003 04:04 PM
Beginner on Win32 apps, lame question. Templario C Programming 3 11-06-2002 08:39 PM
external errors on project files? Know what they are but why are they happening here. G'n'R C++ Programming 2 01-01-2002 09:03 AM


All times are GMT -6. The time now is 04:10 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