- What is C++ and why study it?
1 - Simple Things
2 - Compound Types
3 - Pointers
Chapter 4 - Functions
Chapter 5 - Encapsulation
Chapter 6 - More
Chapter 7 - Inheritance
Chapter 8 - More
Chapter 9 - Multiple
Chapter 10 - Virtual
Chapter 11 - More
Chapter 12 - Flyaway
|| Frequently asked
questions about C++
Why can't I run the
Coronado Enterprises programs?
The example C++ programs included with the Coronado Enterprises
C++ tutorial are not readable by the computer in a way that they
can be run. They are all in a human readable format which
a computer cannot read and execute. See "What
is a compiler?" for more help.
Which C++ compiler should I get?
You may be tempted to spend a lot of money to purchase a
very expensive compiler to start with, but this is probably not
your best route to take. I recommend buying a very inexpensive
compiler as your first compiler for three very good reasons. The
more expensive compilers have so many features that it can be very
intimidating for a beginner, whereas a lower level compiler with
fewer features, could be much easier to start with. As a beginner
you will need only the features available with the less expensive
versions. Secondly, when you begin to feel the need to purchase
a better compiler, you will have some programming experience under
your belt and can make a much more informed decision as to which
brand you really want to use. It's much easier to abandon a $30
compiler and move up to brand X, than it is to abandon a $500 compiler
from brand Y to move to brand X when you decide that brand X is
what you really need. And the third reason is that it will take
you several months to outgrow even the most inexpensive C++ compiler,
and you can almost be assured of the fact that even your favorite
brand will have a new, expensive upgrade during that time.
Where should I start?
Start with the Coronado Enterprises C++ tutorial. (If you
are not a fairly proficient C programmer, you need to start with
the Coronado Enterprises C tutorial.) Read the text associated with
each example program, compile and execute each example program,
and modify the program in some way to be sure you understand the
concepts taught with that particular program. After completing a
few chapters begin to write some small programs of your own design
just to gain the experience of programming. You will probably
surprise yourself at how fast you progress.
Should I learn C before beginning with C++?
The Coronado Enterprises C++ tutorial assumes a working knowledge
of C, and the Coronado Enterprises C tutorial is designed to give
you that working knowledge. C++ is based on C. In fact, it was originally
called "C with classes", so if you do not know C, you should learn
it before beginning your study of C++. Often, when employed as a
C++ programmer, you will be called upon to write a short program
in C, such as a driver, so the knowledge of C will be beneficial
to you in the future.