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

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2007
Posts: 54
Reputation: tracethepath is an unknown quantity at this point 
Solved Threads: 4
tracethepath's Avatar
tracethepath tracethepath is offline Offline
Junior Poster in Training

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

 
0
  #1
Jul 2nd, 2007
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...
With Regards...
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 539
Reputation: thekashyap will become famous soon enough thekashyap will become famous soon enough 
Solved Threads: 50
thekashyap's Avatar
thekashyap thekashyap is offline Offline
Posting Pro

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

 
0
  #2
Jul 2nd, 2007
Post the errors you got.. (copy paste, don't use your own words to describe)
Are you Agile.. ?
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 126
Reputation: krnekhelesh is an unknown quantity at this point 
Solved Threads: 3
krnekhelesh's Avatar
krnekhelesh krnekhelesh is offline Offline
Junior Poster

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

 
1
  #3
Jul 8th, 2007
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
Ubuntu Linux User #25732
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,114
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 281
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

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

 
0
  #4
Jul 9th, 2007
Originally Posted by tracethepath View Post
... 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...
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC