G
George
I hate to bug you old timers and pros that use C++. So if you
will spare me a small moment then I be out of your hair. I
am taking a C++ class and got this CD with the book. You would
think the college class would use the same software in the classroom
as that provided on the CD. Not so. Anyway, I got MS C++ 6.0.
If you want to read the final problem, skip to step 18. 1-17
leads up to how I get there however.
Here is the steps that leads to my downfall:
1. Start the C++ program
2. Do a File -> Open. To open sample program like Sample1.cpp
3. It opens fine in the C++ window. I can see the code.
4. From the menu do Build -> Compile Sample1.cpp
5. I am told the "build command requires and active workspace
Would you like to create one." I click Yes.
6. Sample1.cpp Builds with 0 error(s) and 0 warning(s).
7. Then I use the menu to Build -> Execute Sample1.exe.
8. I am told "Debug\Sample1.exe needs to be built. Would you like
to build it?"
I click Yes. Sure go ahead.
9. It builds and up comes a command tool with the program.
Looks good. Things are great.
10. So I read on in my book and then come to sample2.cpp.
11. I do a File -> Open and get sample2.cpp.
12. It opens in the window and I can see the code.
13. Again I do Build -> Compile Sample2.cpp
14. I am told it is not part of my project and do I want to include it.
15. I click Yes.
16. Then from the menu I click Build -> Compile sample2.cpp.
17. It compiles with no errors or warnings.
18. Here is my downfall and source of confusion. There is no
line that says Build -> Sample2.exe as in step 7. I can't find
any way to build it and execute except to Exit the program and
start over using sample2.cpp from the beginning. Build All does
not work. I can't find any menu item to get past this.
Any ideas?
Thanks to all.
will spare me a small moment then I be out of your hair. I
am taking a C++ class and got this CD with the book. You would
think the college class would use the same software in the classroom
as that provided on the CD. Not so. Anyway, I got MS C++ 6.0.
If you want to read the final problem, skip to step 18. 1-17
leads up to how I get there however.
Here is the steps that leads to my downfall:
1. Start the C++ program
2. Do a File -> Open. To open sample program like Sample1.cpp
3. It opens fine in the C++ window. I can see the code.
4. From the menu do Build -> Compile Sample1.cpp
5. I am told the "build command requires and active workspace
Would you like to create one." I click Yes.
6. Sample1.cpp Builds with 0 error(s) and 0 warning(s).
7. Then I use the menu to Build -> Execute Sample1.exe.
8. I am told "Debug\Sample1.exe needs to be built. Would you like
to build it?"
I click Yes. Sure go ahead.
9. It builds and up comes a command tool with the program.
Looks good. Things are great.
10. So I read on in my book and then come to sample2.cpp.
11. I do a File -> Open and get sample2.cpp.
12. It opens in the window and I can see the code.
13. Again I do Build -> Compile Sample2.cpp
14. I am told it is not part of my project and do I want to include it.
15. I click Yes.
16. Then from the menu I click Build -> Compile sample2.cpp.
17. It compiles with no errors or warnings.
18. Here is my downfall and source of confusion. There is no
line that says Build -> Sample2.exe as in step 7. I can't find
any way to build it and execute except to Exit the program and
start over using sample2.cpp from the beginning. Build All does
not work. I can't find any menu item to get past this.
Any ideas?
Thanks to all.