using C++ visual Studio.net to write programs for c++ 6.0

G

Guest

I am a student taking a computer class programmning with ms visual C++. The
college is using ms visual C++ 6.0 on it's computers. I purchased ms visual
studio.net (Academic) (ver 2003) which is more up to date. How can I use my
program to write C++ 6.0 the same way I am be instructed in class? Do I need
to buy visual C++ 6.0 I already paid for one program I would like to make use
of it at home it gives me more time to learn. Thanks Charlie
 
B

BobF

Your best bet would be to purchase the VC++6 downgrade. It's dirt cheap.
Search for "downgrade".
 
P

Peter van der Goes

Charlie said:
I am a student taking a computer class programmning with ms visual C++.
The
college is using ms visual C++ 6.0 on it's computers. I purchased ms
visual
studio.net (Academic) (ver 2003) which is more up to date. How can I use
my
program to write C++ 6.0 the same way I am be instructed in class? Do I
need
to buy visual C++ 6.0 I already paid for one program I would like to make
use
of it at home it gives me more time to learn. Thanks Charlie

I agree with BobF for several reasons, but first, here's the link to
downgrade information:

http://msdn.microsoft.com/vbasic/previous/downgrade.aspx

My reasons why the downgrade may be safer for you are as follows:
If your instructor is teaching "pre-standard" C++ (and, I have no way of
knowing, as the 6.0 compiler supports most new stuff, but also supports
things no longer in the new standard), some of the code/preprocessor
directives he/she teaches will not work in the VC 7.1 C++ compiler (the one
in Visual Studio 2003), and you may well be left to figure the necessary
changes out for yourself.
Have you discussed you situation with your instructor, to see what advice
he/she might offer?
What textbook are you using and what's the publication date?
Hint: If your instructor is teaching:

#include <iostream.h>

and does not realize the directive should now be:

#include <iostream>, typically followed by (in beginning texts)
using namespace std;

then you should go for the downgrade ASAP.
 
D

Daniel James

Peter van der Goes said:
Hint: If your instructor is teaching:

#include <iostream.h>

and does not realize the directive should now be:

#include <iostream>, typically followed by (in beginning texts)
using namespace std;

then you should go for the downgrade ASAP.

Correction: If your instructor is teaching:

#include <iostream.h>

and does not realize the directive should now be:

#include <iostream>

you should change your instructor!
typically followed by (in beginning texts)
using namespace std;

Yeah, "typically followed in beginning texts" is true enough, but "using
namespace" is really a bad habit to get into.

Cheers,
Daniel.
 
P

Peter van der Goes

Daniel James said:
Goes
wrote:

Correction: If your instructor is teaching:

#include <iostream.h>

and does not realize the directive should now be:

#include <iostream>

you should change your instructor!
<snip>
I agree with the sentiment, but the OP may be stuck in a situation where
there is no alternative but to continue the class in which he in enrolled,
hence the suggestion to downgrade.
 
D

Daniel James

Peter van said:
I agree with the sentiment, but the OP may be stuck in a situation
where there is no alternative but to continue the class in which
he in enrolled, hence the suggestion to downgrade.

That is possible, I agree ... and the matter may well be moot because
the instructor may be using standard iostreams with VC6 (or, at
least, not using iostream.h).

However, I'd argue that if the instructor *is* teaching iostream.h in
2005 then it is better to drop out of the course now than have to
unlearn it all later. Such a teacher should be approached -- if
necessary using what we're saying here as ammunition -- and asked to
update the course materials, and if that fails the instructor's
employer should be asked to replace the instructor.

Cheers,
Daniel.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top