x-no-archive: yes
C++ is a pedal to the metal nitty gritty very high performance object
oriented programming language with wide support, an excellent STL (Standard
Template Library) and many other libraries and lots of books written for it.
It is a very complicated language however and you'd better get real used to
pointers, references, and pointers to pointers, and pointers to references
of pointers to objects containing arrays of pointers if you want to use it.
If you use C++ to program for Windows you will have to learn five thousand,
four hundred and fifty-two (5,452) different macro names for strings and no
two are really compatible with only 314 different versions of every function
needed for each one: LPSTR LPCSTR LPPCSTSTRST WCTSTR WPCSTR STRWPPCSTR STR
cstr cstring CString WCString WCpyString <string> wstr strcpyw strcpyl
lstrcpy cpycpystyr STSTRSS CSTRWP LPSTRCPY LWPSTR CSTRWPLSTR ... etc.
C# is a high performance (managed) interpreted object oriented language.
Lots of books, expanding libraries, lots of support and an excellent .NET
framework. It has simplified programming for Windows and seems to be the
future of programming for Windows. Yes, engines for the language are being
developed for other than Windows platforms. It stays relatively
uncomplicated until you get into interfaces, delegates and attributes etc.
In C#, strings actually seem to make real sense.
You can mix C++ and C# languages but there are considerations when you do
so.
TStoltz wrote:
Hi,
I'm sorry if this question comes inapropriate but hope you can help me
answer the following:
What is the difference between C++ and C#. Can I use C++ code within
the C# code. I've heard postive things about Framework which should
be similar to MDSN - or what is it better/worse?
Please tell me why I should go for C-sharp instead of C++
Thx