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. 13 2167
"George" <ge************ ***@saic.com> wrote in message
news:29******** *************** ***@posting.goo gle.com... 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
[snip] Any ideas? Thanks to all.
This group is for questions on the C++ language. 'How do I use my compiler?'
does not cut it. Suggest you either read the documentation, or ask again in
a relevant group such as news:microsoft. public.vc.ide_g eneral.
john
"George" <ge************ ***@saic.com> wrote in message
news:29******** *************** ***@posting.goo gle.com... 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
[snip] Any ideas? Thanks to all.
This group is for questions on the C++ language. 'How do I use my compiler?'
does not cut it. Suggest you either read the documentation, or ask again in
a relevant group such as news:microsoft. public.vc.ide_g eneral.
john
"John Harrison" <jo************ *@hotmail.com> wrote in message
news:c4******** *****@ID-196037.news.uni-berlin.de... "George" <ge************ ***@saic.com> wrote in message news:29******** *************** ***@posting.goo gle.com... 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 [snip] Any ideas? Thanks to all.
This group is for questions on the C++ language. 'How do I use my
compiler?' does not cut it. Suggest you either read the documentation, or ask again
in a relevant group such as news:microsoft. public.vc.ide_g eneral.
Here's a hint. A C++ program can be composed of more than one source file,
so when you asked the computer to compile Sample2.cpp in step whatever it
was, do you think it should have forgotten all about Sample1.cpp? Find out
how to tell the compiler that you are starting again and you'll have the
answer. Shouldn't be too hard, there's only so many menu options to choose
from.
Good luck in learning C++, and feel free to ask questions about the C++
language here.
john
"John Harrison" <jo************ *@hotmail.com> wrote in message
news:c4******** *****@ID-196037.news.uni-berlin.de... "George" <ge************ ***@saic.com> wrote in message news:29******** *************** ***@posting.goo gle.com... 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 [snip] Any ideas? Thanks to all.
This group is for questions on the C++ language. 'How do I use my
compiler?' does not cut it. Suggest you either read the documentation, or ask again
in a relevant group such as news:microsoft. public.vc.ide_g eneral.
Here's a hint. A C++ program can be composed of more than one source file,
so when you asked the computer to compile Sample2.cpp in step whatever it
was, do you think it should have forgotten all about Sample1.cpp? Find out
how to tell the compiler that you are starting again and you'll have the
answer. Shouldn't be too hard, there's only so many menu options to choose
from.
Good luck in learning C++, and feel free to ask questions about the C++
language here.
john
Sure.
Dump Deitel's book, buy Stroustrup's book instead.
Dump Windows Visual C++ and install linux
and do C++ there. Any ideas? Thanks to all.
Sure.
Dump Deitel's book, buy Stroustrup's book instead.
Dump Windows Visual C++ and install linux
and do C++ there. Any ideas? Thanks to all.
JaSeong Ju wrote: Sure. Dump Deitel's book, buy Stroustrup's book instead. Dump Windows Visual C++ and install linux and do C++ there.
Any ideas? Thanks to all.
While I agree that Stroustrup's book is good, I feel it's not good advice to
advise anyone to use a different OS.
I, personally, would find using Linux more fun than Microsoft's Windows, but
the fact that it's not practical to write programs targetting Windows on
Linux, along with a few other essintial peripheral's having no Linux
drivers, makes it impractical for me to do so. I suspect a lot of other
people are in a similar position.
- Pete
JaSeong Ju wrote: Sure. Dump Deitel's book, buy Stroustrup's book instead. Dump Windows Visual C++ and install linux and do C++ there.
Any ideas? Thanks to all.
While I agree that Stroustrup's book is good, I feel it's not good advice to
advise anyone to use a different OS.
I, personally, would find using Linux more fun than Microsoft's Windows, but
the fact that it's not practical to write programs targetting Windows on
Linux, along with a few other essintial peripheral's having no Linux
drivers, makes it impractical for me to do so. I suspect a lot of other
people are in a similar position.
- Pete
"Petec" <x@x.x> writes: I, personally, would find using Linux more fun than Microsoft's Windows, but the fact that it's not practical to write programs targetting Windows on Linux,
[...]
This is incorrect. I spend most of my time each day writing software
on GNU/Linux that will also run on MS Windows. The software is
written using Standard C++, along with the excellent GTK+ and Gtkmm
graphics libraries; it performs identically on both platforms.
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =----- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: George |
last post by:
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...
|
by: blueblueblue2005 |
last post by:
Hi, I am reading the const function definition part in Deitel book, it
says :
Defining as const a member function that calls a non-const member
function of the class on the same instance of the class is a syntax
error.
what does "on the same instance of the class" mean? if I have a class
like the following:
|
by: __frank__ |
last post by:
What do you think about the following book:
"C How to Program", 4th edition,
ISBN: 0131426443
I'm a novice.
Thanks in advance.
|
by: James Thompson |
last post by:
I'm sure this question has been asked a hundred times. I did a google
search and found some older post and some mixed reviews. I am looking
for an updated opinion on which book is the best for learning Visual
C++ .NET. A little background, I have been programming C# for the
past year and I was a Visual Basic programmer for about 5 years before
that. I created a new project in C++ .NET and it is like night and day
compared to C#. I was...
|
by: Ken |
last post by:
What are the differences between Visual C++ 6.0 and Visual C++.NET
Any books are good for beginner? (I can write in VB but I don't know any C++ language
(please suggest book name and publisher)
| |
by: Cezus |
last post by:
Good day,
Im a beginner at C# and i use the book Visual C# 2005: How to program
from Deitel/Pearson.
I want to build a simple Anime (movie) database. It contains a list
box with all the anime titles and to the right are the corresponding
text fields like title, category, nr of episodes, etc.
If you switch from anime in the listbox the corresponding textfields
|
by: Mitch |
last post by:
I'm wondering if I'm doing myself a disservice by learning Visual C#,
considering it does so much of the work behind the scenes.
Should I be learning console apps first?
I still haven't found the right book.
C# For Dummies started out great, then the guy just goes into the
stratosphere, with no explanation on how he went from point B to point
X !
|
by: nembo kid |
last post by:
According to accu.org, Deitel's "How to program" is not reccomended.
I don't agree. I have the 3rd ed. and I find it ok.
What do you think about this book?
Thanks in advance.
|
by: Beany |
last post by:
Hi,
ive recently purchased a copy of this book.......im at the beginning stages and working on the last exercises of Chapter 2. But ive noticed that these exercises are quite difficult and Chap2 doesnt provide enough info for me to answer them.
I searched the Deitel site but couldnt find any answers or tips to any of the last questions in chapter 2.
Has someone noticed this? do you know where i can find tips etc?
thanks
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |