Classic C++ VS Visual C++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2008
Posts: 2
Reputation: cooljeff1379 is an unknown quantity at this point 
Solved Threads: 0
cooljeff1379 cooljeff1379 is offline Offline
Newbie Poster

Classic C++ VS Visual C++

 
0
  #1
Nov 5th, 2008
Hi all,
I'm a C++ programmer and now about to use Visual C++. May I know the difference in terms of functionalities? will my code written in classic C++ run on Visual C++?
thanks.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 1,675
Reputation: vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold 
Solved Threads: 193
vmanes's Avatar
vmanes vmanes is offline Offline
Posting Virtuoso

Re: Classic C++ VS Visual C++

 
0
  #2
Nov 5th, 2008
Visual C++ is C++, with the Visual Studio IDE. You should not encounter any significant differences between code written for other current implementations of C++.

By Classic C++, I'm assuming you mean any of the other compilers such as gcc, MinGW, current Borland products, and not some old, out of standards version.
"We Americans got so tired of being thought of as dumb by the rest of the world that we went to the polls last November and removed all doubt."
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 2,001
Reputation: ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of 
Solved Threads: 343
ArkM's Avatar
ArkM ArkM is offline Offline
Postaholic

Re: Classic C++ VS Visual C++

 
0
  #3
Nov 5th, 2008
That's true if not counting monstrous MS NET "extensions" for "managed" codes...
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 14
Reputation: ALAZHARY is an unknown quantity at this point 
Solved Threads: 1
ALAZHARY's Avatar
ALAZHARY ALAZHARY is offline Offline
Newbie Poster

Re: Classic C++ VS Visual C++

 
0
  #4
Nov 5th, 2008
There are two fundamentally different kinds of C++ applications you can develop with Visual C++ 2008.
You can write applications that natively execute on your computer. These applications referred to as native C++ programs. You write native C++ programs in the version of C++ that is defined by the ISO/ANSI (International Standards Organization/American National Standards Institute) language standard. You can also write applications to run under the control of the CLR in an extended version of C++ called C++/CLI. These programs referred to as CLR programs, or C++/CLI programs.
I'd give my right arm to Improve my english
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 2
Reputation: cooljeff1379 is an unknown quantity at this point 
Solved Threads: 0
cooljeff1379 cooljeff1379 is offline Offline
Newbie Poster

Re: Classic C++ VS Visual C++

 
0
  #5
Nov 6th, 2008
Thank you everyone... it's nice to know that there are people who are very willing to share their knowledge...
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 119
Reputation: kux is on a distinguished road 
Solved Threads: 10
kux kux is offline Offline
Junior Poster

Re: Classic C++ VS Visual C++

 
0
  #6
Nov 6th, 2008
Well, C++ is just a language, with quite a small standard library, but with A LOT of provided compilers, frameworks and third party libraries. From my point of view ( and many others, I think ) g++ is the best compiler for C++. Visual C++ is quite a generic name: it's the msvc compiler, the visual studio IDE and a library/framework that wraps winapi to build windows graphical applications( aka MFC ).
Learning Visual C++ actually means learning how to use the MFC framework and Visual Studio IDE, that, from my point of view is quite useless: 1. it costs a lot; 2. it's not portable on other os ( of course, MS policy ) 3. as far as I know Microsoft outsourced MFC
About the MSVC compiler... it generates slower machinecode than g++ and a thing I recently noticed, it doesn't quite respect the c++ standard ( thing I noticed is that exception specifications are not treated by the compiler, even if you have a throw() function that DOES throw, unexpected() is never called )
The only bright side of "Visual C++" is the Visual Studio IDE, that from my point of view is kind of the best ide right now.
If you do want to do GUI developement in C++ I would suggest using portable libraries: Qt4 or GTK++ .

About .NET's C++/CLI... This is simply not C++. It's simply another language. If you do want to develop .NET apps I would suggest learning C#.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC