Saturday, May 22, 2010

C++ != Visual Forms?

I am learning c++ and I saw a book on visual form does that also require c++ of it;s little different. Should I learn all of c++ rather than learning that 2. So If i learn c++ that will just come to me?

C++ != Visual Forms?
C++ is simply the C++ language, there is no visual design of forms.





In plain c++ you would use the MFC, Microsoft Fondation Class, which contains a library of windows code to create windows and forms or whatever you need done on the windows platform.





Visual C++ offers a graphical IDE and can speed up window layout for your application.





If you are seeking to study C++ for development on the Windows platform I would strongly advise you look into .NET2.0 C++. Also Vista changes how you need to code and .NET already contains namespaces for this and .NET also allows for easier cross platform coding to Linux, etc...





The .NET C++ site has a standard C++ for beginners which should still be a free download. Take all the free online courses with Microsoft and you'll learn more then check out the free online C++ tutorial sites.





BTW: You can do native code, meaning bypass the .NET engine and go to the operating system with in .NET





.NET uses a common engine so that different compilers use the same binary structure making them compatible. A VB and C++ programmer can prettty much plug and play each others code modules with out having to know each others programming language.





Heres a link to the C++ .net site(C++ .NET Express is still a free download and a great starter for beginners):





http://msdn.microsoft.com/vstudio/expres...





I taught a beginner C++ class back in the late 1980s and I'd highly reccomend start with .NET C++ standard.





C++ is an awesome language because the skies pretty much the limit of your imagination and there isn't alot of limitations placed on yo by the compiler. This power can get you in trouble so good form is extremely import, following the experts form is best, Microsoft experts have online blogs and sample code.





Even if you aren't coding for a windows platform I'd still reccomend start your learning there. The information is vast and accurate compared to other places.





The online referrence is like having the big bucks referrence manual and there are tons of articles and sample code to grab advance programming concepts.





I found their developer site a greater learning tool than Sun and others for C++.





Also, if the language is one you chose of your own accord, you'll love C#, its kinda of a cross between java and C++ and with a short learning curve like VB.
Reply:"Visual Forms" is a part of the Rapid Applications Development (RAD). It has nothing mutual with C++ besides that fact that from your C++ code you can use VF. Just treat it as a non-standard MS extension (or even some library that can be used solely with latest MS compilers).
Reply:Visual Forms? Perhaps you mean Visual C++? I don't recommend vc++ books, unless you are certain you are tied to the Microsoft platform.





C++ is platform independent. Get a book, a list is available on http://accu.org/index.php/book_reviews?u... which reviews for technical accuracy. The good books are not platform specific.





Something like C++ Primer 3rd Ed from Lippman or Accelerated C++ is good.


No comments:

Post a Comment