Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / February 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charlie - 22 Feb 2005 01:39 GMT
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
BobF - 22 Feb 2005 02:00 GMT
Your best bet would be to purchase the VC++6 downgrade.  It's dirt cheap.
Search for "downgrade".

> 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
Peter van der Goes - 22 Feb 2005 17:23 GMT
>I am a student taking a computer class programmning with ms visual C++.
>The
[quoted text clipped - 7 lines]
> 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.

Signature

Peter [MVP Visual Developer]
Jack of all trades, master of none.

Daniel James - 23 Feb 2005 14:31 GMT
> Hint: If your instructor is teaching:
>
[quoted text clipped - 6 lines]
>
> 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.

Peter van der Goes - 24 Feb 2005 14:45 GMT
> In article news:<#y0i$MQGFHA.3504@TK2MSFTNGP12.phx.gbl>, Peter van der
> Goes
[quoted text clipped - 19 lines]
>
> 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.

Signature

Peter [MVP Visual Developer]
Jack of all trades, master of none.

Daniel James - 26 Feb 2005 01:01 GMT
> 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.


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.