944,172 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 6181
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Aug 6th, 2006
0

visual c++ 2003

Expand Post »
In visual c++ 2003 to visual c++ 2005 are there any major changes,Are there any Syntax changes i know there has to be,and would the 2005 version be worth the money?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
ArNy is offline Offline
35 posts
since May 2006
Aug 6th, 2006
0

Re: visual c++ 2003

VC2005 is free to download and yes it's much better than VC2003.
Reputation Points: 197
Solved Threads: 12
Junior Poster
Grunt is offline Offline
147 posts
since Jul 2006
Aug 6th, 2006
0

Re: visual c++ 2003

Re: Syntax....
Maybe we can answer your question and mine at the same time.

I am a total neophyte, but I am toying with a program that has a caveat, "When using VS2005, MS is pushing wide strings. Convert char stuff to WCHAR and put an L in front of all the constants, like this: L'Hello, world.'"

This is all pretty much greek to me, but maybe a power hitter can enlighten us.
Reputation Points: 13
Solved Threads: 0
Newbie Poster
Miles Archer is offline Offline
2 posts
since Aug 2006
Aug 6th, 2006
0

Re: visual c++ 2003

Quote originally posted by Miles Archer ...
Re: Syntax....
Maybe we can answer your question and mine at the same time.

I am a total neophyte, but I am toying with a program that has a caveat, "When using VS2005, MS is pushing wide strings. Convert char stuff to WCHAR and put an L in front of all the constants, like this: L'Hello, world.'"

This is all pretty much greek to me, but maybe a power hitter can enlighten us.
That is because unlike the previous versions of Visual Studio, VS2005 is unicode enabled by default. In Windows, to differentiate between Wide char and the normal one byte char, you have to put the L modifier in from of it. So "Hello World" will take 12 bytes, and L"Hello World" will take 24 bytes.
Read more.

As for the OP's question
Quote originally posted by ArNy ...
In visual c++ 2003 to visual c++ 2005 are there any major changes,Are there any Syntax changes i know there has to be,and would the 2005 version be worth the money?
No major changes in the Graphical IDE. If you are familiar with the VS2002, VS2003 , there are few places where you get surprised.
As for syntax changes, I tried the Professional Version for some time, and the major irritation was that the use of functions like strncpy has been deprecated in favour of microsoft specific functions like strncpy_s. So you may get a lot of compiler warnings saying this and that is deprecated, blah blah blah. Of course you can turn if off with a specific preprocessor switch _CRT_SECURE_NO_DEPRECATE. I personally do not like this compiler specific code, but since I don't know the internals of the C/C++ standard implementations, I am not in a position to say where the old strncpy functions have gone wrong. But other than this, I do not see any significant changes. Anyway this is significant enough. Also these new functions have been submitted for consideration to the C/C++ committees so they MAY get included in the standards.
For the time being, unless you are going to download the free version, I do not see any point of upgrading to VS2005 in a hurry. 2003 should be enough since it is very much standard compliant than the pervious versions. But if you have the bandwidth and curiosity, try the free version by all means.
Last edited by WolfPack; Aug 6th, 2006 at 9:11 am.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Aug 6th, 2006
0

Re: visual c++ 2003

You guys know a retail store were i could buy visual c++ 2005 or from microsoft website only.compusa.com use to sell the visual c++ 2003 but they dont anymore.
Reputation Points: 10
Solved Threads: 0
Light Poster
ArNy is offline Offline
35 posts
since May 2006
Aug 6th, 2006
0

Re: visual c++ 2003

Why do you want to buy it when it can be downloaded for free?
Last edited by WolfPack; Aug 6th, 2006 at 2:41 pm.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Reputation Points: 197
Solved Threads: 12
Junior Poster
Grunt is offline Offline
147 posts
since Jul 2006
Aug 6th, 2006
0

Re: visual c++ 2003

Quote originally posted by WolfPack ...
Why do you want to buy it when it can be downloaded for free?
well i downloaded the 30 day trial before this when i was just learning c++ i used it once and let it sit,then when i need to use it oops the trial is expired.
Reputation Points: 10
Solved Threads: 0
Light Poster
ArNy is offline Offline
35 posts
since May 2006
Aug 6th, 2006
0

Re: visual c++ 2003

No. There is no issue like that with Visual Studio 2005 Express Edition. It is completely free for as long as you want to use it. Earlier it was only for a one year period and the licence expired after an year. But now they have decided to give this edition for free. See this.
Quote originally posted by 10. Pricing ...
Effective April 19th, 2006, all Visual Studio 2005 Express Editions are free permanently. This pricing covers all Visual Studio 2005 Express Editions including Visual Basic, Visual C#, Visual C++, Visual J#, and Visual Web Developer as well as all localized versions of Visual Studio Express.
SQL Server 2005 Express Edition has always been and will continue to be a free download.
See how nice Big Bro Bill is?
Last edited by WolfPack; Aug 6th, 2006 at 4:27 pm.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Aug 6th, 2006
2

Re: visual c++ 2003

A major difference that hasn't been noted (unless I just missed it) is that 2005 uses C++/CLI for .NET programming, whereas 2003 uses the older managed extensions for C++. Just to clarify, C++/CLI is essentially its own language, though it is based on C++.

Also, all the express versions are specific to a single language, whereas non-free versions of visual studio integrate multiple languages, and they also include some other tools. Check out the product comparisons.
Last edited by GloriousEremite; Aug 6th, 2006 at 4:47 pm.
Reputation Points: 108
Solved Threads: 14
Junior Poster in Training
GloriousEremite is offline Offline
65 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: wrong output
Next Thread in C++ Forum Timeline: Simple Question C++ formating





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC