943,714 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1214
  • C++ RSS
Jul 2nd, 2007
0

RUNNING D PROGRAM...need help urgently...

Expand Post »
hello everybody,
I am a beginner in C++. I got a CD with a C++ how to program,fifth edition book by Deitel which has the source codes included in the books. The source code for ATM case study is in parts i.e. user defined header files r dere which includes class definition, and class member function definition (cpp files) r dere 4 d same header file. Also there is one main cpp file to run the program. Now if i run the program by opening it in turbo C++ window from my CD, it doesnot includes the user defined header files. I have copied the user defined header file in include folder which contains all other pre defined header files and dont know where to include the class member fuction definition file...U can have a look at the program at
http://www.safarix.com/0131857576/app07
Please give me the steps which i shud follow 2 run that program and also tell me if there r any other errors in the source code...
Similar Threads
Reputation Points: 8
Solved Threads: 4
Junior Poster in Training
tracethepath is offline Offline
54 posts
since Jul 2007
Jul 2nd, 2007
0

Re: RUNNING D PROGRAM...need help urgently...

Post the errors you got.. (copy paste, don't use your own words to describe)
Reputation Points: 254
Solved Threads: 74
Practically a Posting Shark
thekashyap is offline Offline
804 posts
since Feb 2007
Jul 8th, 2007
1

Re: RUNNING D PROGRAM...need help urgently...

Normally when you want to include a predefined header file in your program it is done like this

#include<nameof headerfile.h>

Whereas if you want to include user defined header files you do it by

#include"name of headerfile.h "

This will make the compiler to look for your header file where your main CPP file is present.

I hope that this solves your problem
Reputation Points: 31
Solved Threads: 3
Junior Poster
krnekhelesh is offline Offline
127 posts
since Jul 2007
Jul 9th, 2007
0

Re: RUNNING D PROGRAM...need help urgently...

... header files r dere...
... function definition r dere 4 d same header file...
... i shud follow 2 run ... there r ...
Are you related to Uncle Remus? Please read this. It's part of the rules of this board...
Moderator
Reputation Points: 3278
Solved Threads: 890
Posting Sage
WaltP is offline Offline
7,718 posts
since May 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: help: code block for writing audio cd
Next Thread in C++ Forum Timeline: ComboBox





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC