Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
what are differences between

Win32 Console App..

VS

CLR Console App..

VS

C++/CLI

all are looking to be same..
Posted

SA is absolutely correct. Just to add one thing. C++ is a language governed by a standard that is not under Microsoft's control. There are NO 'flavours' of C++, because there is only one language called C++, 'flavours' are created by compiler programmers doing a bad job. VC6 used to be the worst of these, but MS is quite standards compliant nowadays. Everything you listed, is some sort of library on top of C++. There are really three options, and you listed two.

Win 32 is actually C more than C++, although as C++ is built on C, you can use C APIs with it. A Win32 console app presumably is a console app in C++ that has no MFC support.

MFC is the old Microsoft library for writing windows apps with C++. It's the logical choice IMO, if you must use C++.

C++/CLI is standard C++ with a bridge to .NET. Thus you can use winforms to write windows apps, although I see no sane reason to use C++ and not C# to do this. The main use for C++/CLI is to bridge existing C++ apps to .NET code.
 
Share this answer
 
Those are not different "flavors of C++". You list incomparable items:

Win32 Console Application: this is no more than an application option for a Win32 project. If simply says: "show default console".

VS: abbreviation for Microsoft Visual Studio; IDE for many languages, not just C++. By "VS", did you mean "versus"?

CLR Console Application: same as Win32 Console Application only for CLR projects written in C++/CLI, C#, VB.NET and other languages.

C++/CLI: actually a language very different from C++ and derived from C++, C++ for CLI with different syntax, standardized under ECMA; the main thing that couples C++/CLI with C++ is the fact that these two languages can be used in the same project and use each others' declarations.

—SA
 
Share this answer
 
v2
Comments
enhzflep 6-Aug-11 17:15pm    
I'm not so sure that the OP had intended 5 options, 2 of which were repeated..
Perhaps the extra 2 come from an abbreviated form of the word versus? :p

Good info, my 4
Sergey Alexandrovich Kryukov 6-Aug-11 18:23pm    
No interpretation can make OP's question correct -- it is not correct. Maybe VS means versus, but this is OP's fault again, because "vs." should no not capitalized. Thank you for the idea, I'll modify the solution.
--SA
enhzflep 6-Aug-11 21:38pm    
Yes indeed, "versus" should not be abbreviated as "VS", just as "maybe" should not be written as "My be" - all in the spirit of correctness you speak of. :p

Anyway..

CGs 4th sentence is a great 1st part of the answer. The remainder does the job of earning the 5 vote I sent his way. The info on c++/cli paid for the 4 vote sent your way. cheers.
Sergey Alexandrovich Kryukov 6-Aug-11 23:13pm    
Thanks again. Typo fixed.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900