Sunday, August 2, 2009

What is the best way to learn c++?

Find good tutorial sites, look at lots of examples, do lots of practice. Go to online forums and find answers to problems, but in the end lots of practice are needed.

What is the best way to learn c++?
Some good places to start:


http://www.codepedia.com/1/Cpp


http://www.cplusplus.com/doc/t...





I recommend the first one.


Before that you`ll need an IDE. I recommend Code::Blocks:


http://www.codeblocks.org/ Report It

Reply:well i've been through this programing laguage , but its better to understand the C language first . lots of books of C++ on the net , ebooks as well. so just try to understand %26amp; study hard!
Reply:You can find several -ebooks and online tutorial for free but if you want a book to begin with then go with Object-Oriented Programming in C++ By: Robert Lafore. It is good.
Reply:C++ (generally pronounced /siː plʌs plʌs/) is a general-purpose, high-level programming language with low-level facilities. It is a statically typed free-form multi-paradigm language supporting procedural programming, data abstraction, object-oriented programming, and generic programming. Since the 1990s, C++ has been one of the most popular commercial programming languages.





Bjarne Stroustrup developed C++ (originally named "C with Classes") in 1983 at Bell Labs as an enhancement to the C programming language. Enhancements started with the addition of classes, followed by, among other features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. A new version of the standard (known informally as C++0x) is being developed.





C++ has been the subject of debate. Traditionally, C++ compilers have had a range of problems. The C++ standard does not cover implementation of name mangling, exception handling, and other implementation-specific features, making object code produced by different compilers incompatible; there are, however, 3rd-party standards for particular machines or operating systems which attempt to standardize compilers on those platforms (for example C++ ABI[3]); some compilers adopt a secondary standard for these items.





For many years, different C++ compilers implemented the C++ language to different levels of compliance to the standard, and their implementations varied widely in some areas such as partial template specialization. Recent releases of most popular C++ compilers support almost all of the C++ 1998 standard [4]. One particular point of contention is the export keyword, intended to allow template definitions to be separated from their declarations. The first compiler to implement export was Comeau C++, in early 2003 (5 years after the release of the standard); in 2004, beta compiler of Borland C++ Builder X was also released with export. Both of these compilers are based on the EDG C++ front end. It should also be noted that many C++ books provide example code for implementing the keyword export (for example, Beginning ANSI C++ by Ivor Horton) which will not compile, but there is no reference to the problem with the keyword export mentioned. Other compilers such as GCC do not support it at all. Herb Sutter, secretary of the C++ standards committee, recommended that export be removed from future versions of the C++ standard [1], but finally the decision was made to leave it in the C++ standard [5].





Modern critics of the language raise several points. First, since C++ is based on and largely compatible with C, it inherits most of the criticisms levelled at that language. Taken as a whole C++ has a large feature set, including all of C, plus a large set of its own additions, in part leading to criticisms of being a "bloated" and complicated language, especially for embedded systems due to features such as exceptions and RTTI which add to code size. The Embedded C++ standard was specified to deal with part of this, but it received criticism for leaving out useful parts of the language that incur no runtime penalty.[2] Because of its large featureset it can be quite difficult to fully master, leading to programmers often bringing unnecessarily advanced or complicated solutions to simple problems, and it is relatively difficult to write a good C++ parser with modern algorithms (see [3]). This is partly because the C++ grammar is not LALR(1).[citation needed] Because of this, there are very few tools for analyzing or performing non-trivial transformations (e.g., refactoring) of existing code.





C++ is also sometimes compared unfavorably with single-paradigm object-oriented languages such as Java, on the basis that it allows programmers to "mix and match" object-oriented and procedural programming, rather than strictly enforcing a single paradigm. This is part of a wider debate on the relative merits of the two programming styles.





The C++ programming language allows programmers to define program-specific datatypes through the use of structures and classes. Instances of these datatypes are known as objects and can contain member variables, constants, member functions, and overloaded operators defined by the programmer. Syntactically, structures and classes are extensions of the C struct datatype, which cannot contain functions or overloaded operators.
Reply:practice programming over and over again. it is the only way to learn programming
Reply:start with a++ then move to b++ , then you will be ready to conquer c++ !!
Reply:You can learn it online/by your self but it can be hard to solve problems etc. A program like VB.NET is a great place to start, many tutorials out there.





I am going to TAFE to learn it as I like to be with others while I am working and have a variety of solutions available.


No comments:

Post a Comment