| | |
RUNNING D PROGRAM...need help urgently...
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
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...
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...
Normally when you want to include a predefined header file in your program it is done like this
Whereas if you want to include user defined header files you do it by
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
#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
•
•
•
•
... header files r dere...
... function definition r dere 4 d same header file...
... i shud follow 2 run ... there r ...
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
![]() |
Similar Threads
- How to get total time of running program (Java)
- Running a program from within a py script... (Python)
- Java Swing Calculator program not running. It has 0 errors (Java)
- Running a program before loading Windows Explorer during booting (Visual Basic 4 / 5 / 6)
- Another Program Launching mine (C++)
- Running a program (C++)
- Computer freezes up while running AOL (Windows Software)
- My CPU is running at 100% (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: help: code block for writing audio cd
- Next Thread: ComboBox
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline graph homeworkhelper iamthwee ifstream input int integer java lib linux list loop looping loops map math matrix memory multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






