FunctionX | FunctionX Press | C++ Builder | Visual C++ | Visual C++ .NET | C# | Java | Visual C# | Win32 | SQL Server
Introduction to C++
Variable and Data Types
Namespaces
Operators and Operands
Introduction to Functions
Exploring Functions
C++ Projects and Linkage
Logical Comparisons
Conditional Statements
Constructing Expressions
 
Intermediate Operations
Introduction to Arrays
Introduction to Pointers
Arrays and Pointers
Pointers and Functions
Strings
Data Input/Output
Exception Handling
 
User-Defined Types and Classes
Object Initialization and Tuning
Object Construction and Destruction
Operator Overloading
Combining Objects
Exceptions and Classes
Composition and Inheritance
Polymorphism and Abstraction
 

 

Linked Lists

C++ is a language used to communicate with the computer. It works by writing a series of instructions that another program, called a compiler, can analyze and "transmit" to the machine. This site provides lessons, topics, and links that teach how to use this computer language.

An electronic book (ebook) version of this site with updated material is available for purchase.

 

Google
 
Web functionx.com
     Topics
Reference Methods

When creating a C++ class, you can add a member function that returns a reference. This is  a review of how to proceed. This also includes a comparison of reference methods with set and get accessories.

File Processing (FILE)

This is a review of how to save values to a medium using the FILE structure of the C language.

File Processing (fstream)

The C++ language provides the fstream and its inherited classes used to perform file processing as we review them here

Array-Based Lists

Use a class to create a list that uses an array as the main object of the list.

Object Serialization

This is a brief description of how you can save a whole variable declared from a class, and how you can read or retrieve it from a stream.

     Keywords      References
bool break Project Creation Depending on Compiler
else for C++ Operators Precedence
inline static Clearing the screen
Anonymous Classes
C/C++ Comments
Inheritance
     Example Programs

We created and are still adding examples. These are usually small programs that implement a particular or more than one topic, showing how the C++ language is used.

The Simplest Program A Simple Class Constructor Initializer Passing Arguments
If-Else Condition Array of Objects A Class Member Variable Arguments By Value
Exception Handling An Class As Argument Class Nesting A Simple List
String Data Entry Linear Search
Linked List 1
     Math-Oriented Examples
Absolute Value Calculation Sum of a Range of Values Greatest Common Divisor 1
Square Root Calculation Minimum Value Greatest Common Divisor 2
Maximum Value
     Applications
Car Rental Multiple Choice Question
     External References

You can find additional information on the following

Deakin University (Australia)

Normally, the lessons are for the C language but a couple of chapters make a transition to C++.

EDM/2

These are intermediate articles in C++, covering some areas you should move to once you know the fundamentals of C++.

A few (simple) examples of C++ programs
FLU

Many useful examples of programs, including linked lists

C++ in AP Computer Science

A listing of the programs used in the Advanced Placement exam.

Other Links
     Free Compilers

Dev-C++: This is a free compiler from Bloodshed. The registration costs $20 which is used to help develop the compiler. I think that this is good compiler for a beginner. If you register and pay $20, I will not receive a cent from it.

Borland C++ 5.5: This compiler is provided by Borland.
Installing the Borland C++ compiler

 

 
 
 
C++ For C++ Builder Copyright © 2000-2005 FunctionX, Inc.