Home
I
created this for sharing some programming knowledge with the readers of this
blog.I post some C/C++ notes here. I hail for the SLIIT(Sri Lanka Institure of Information
Technology) for giving this knowledge to me.
Contents
1.0.Basic concepts and History of C++2.1.1.How to Use Source Editors in
UNIX2.1.2.How to Use Compilers in
UNIX 2.2.3.How to use IDE s available
for UNIX 2.2.Windows 2.2.1.Source Editors 2.2.2.Compilers 2.2.3.How to use IDE s available for
Windows
3.Introduction to C++3.1.Basic
structure of a Program3.2.Keywords 3.3.First C++ Program
4.Variables and Data Types4.1.Identifiers4.2.Defining a Variable4.3.Assignment statement4.4.Exercises and Answers
5.Basic Arithmetic on C++5.1.Arithmetic operators5.2.Conversion Between Data types5.3.Exercises and Answers
6.Selections(Decisions)6.1.1. if
statement6.1.1.1. if and else
Statements6.1.1.2.Nested if
Statements6.1.2. switch
statement6.1.3. Conditional
Operator6.2.Basic Boolean
algebra6.3.AND , OR , NOT , XOR
Operators6.4.Exercises and Answers
7.Iteration (Repetition)7.1.Loops7.1.1. for Loop7.1.2. while Loop7.1.3. do while Loop7.2.Infinite Loops7.3.Exercises and
Answers
8.Data Structures I 8.1.Introduction to Arrays 8.2.Structure of an
Array 8.3.Defining Arrays 8.4.Accessing Array
Elements 8.5.Multidimensional Arrays 8.6.Using C Strings 8.6.1.Using
String Functions(in cstring , string.h ) 8.6.2.Examples on String
Functions 8.7.Structures 8.7.1.Examples on
Structures 8.8.Enumerations 8.9.Pointers 8........ 8.10.Exercises and
Answers
9.Functions 9.1.Introduction to functions 9.1.1.Parts of a
Function 9.2.Function Declaration and Definition 9.3.Calling a
Function 9.4.Passing Arguments to Functions 9.4.1.Difference Between "Pass
By Value" and "Pass By Reference" 9.4.2.Passing Arrays To
Functions 9.4.3.Using Pointers With Functions 9.4.Function
Overloading 9.5.Inline Functions 9.5.1.Importance of Inline
Functions 9.5.2.Draw backs of Inline Functions 9.6.Default
Arguments 9.7.Life Span of Variables 9.8.Recursion 9.9.Command Line
Arguments 9.9.1.Why Command Line Arguments? 9.9.2.Passing Command Line
Arguments 9.9.3.Handling Command Line
Arguments 9.10.Exercises and
Answers
10.Library Functions And Their Usage
11.Object Oriented
Programming
12.FAQ s
13.C++ Questions and Answers
14.Solutions for E-Mailed Questions
15.Contact me
© All Rights
Reserved 2009 Kanishka Dilshan De Silva
|