function main() is the application's main routine where a program starts execution.It is the first user-written function run when a program starts.Object-oriented C++ programs consist mostly of classes, but there's always at least one C-like function: main(). main() is called more or less at the beginning of the program's execution, and when main() ends, the runtime system shuts down the program. main() always returns an int, as shown below:
FreeVersion: 1.0.0 Platform(s): linux, windows Updated: Wed Oct 3 2007
This article provides example of dynamic array implementation using C++ templates. It uses standard malloc/realloc memory allocation functions and simple "doubling size" resizing strategy. Our AeDynArray class interface resembles MFC standard CArray class, but uses only standard C libraries.
Cprogramming.com is a web site designed to help you learn the C or C++ programming languages, and provide you with C and C++ programming language resources. The Getting Started with the C++ language section gives advice about learning C or C++. Learn from C and C++ language tutorials, or test your programming knowledge with programming quizzes including the C++ MegaQuiz.
FreeVersion: n/a Platform(s): linux, windows, freebsd, osx, sun Updated: Mon Jan 15 2007
In this tutorial you will learn about C Programming Lanuage, Overview of C, Sample program - Printing a message, Executing a C Program and Basic structure of C programs.
FreeVersion: n/a Platform(s): windows Updated: Tue May 30 2006
This tutorial will go through the basics in programming with Visual C++ v6.0. Will cover from variables, string manipulation, arrays, loops and up to working with files.
FreeVersion: 1.0 Platform(s): windows Updated: Tue Oct 4 2005
This tutorial teaches very basics of loops and if-else statements in c language.
the following statements are covered in this tutorial.
1- The if statement
2- The if - else statement
3- The conditional operators Looping is also Discussed, this includes:
1- Using a for statement
2- Using a while statement
3- Using a do-while statement
Version: n/a Platform(s): linux, windows, freebsd, osx, sun Updated: Mon Oct 6 2008
This tutorial covers how to get most out of the Object Oriented Programming Conecpts using C++ Language.
Object- Oriented Programming (OOP) is an approach to program organization and development that attempts to eliminate some of the pitfalls of conventional programming methods by in incorporating the best of structured programming features with several powerful new concepts. It is a new way of organising and developing programs and has nothing to do with any particular language. However, not all languages are suitable to implement the OPP concepts easily.
Version: n/a Platform(s): linux, windows, freebsd, osx, sun Updated: Thu Jun 14 2007
The C programming model is that the programmer knows exactly what they want to do and how to use the language constructs to achieve that goal. The language lets the expert programmer express what they want in the minimum time by staying out of their way.
Version: n/a Platform(s): linux, windows, freebsd, osx, sun Updated: Thu Jun 14 2007
Pointers, from a beginner’s standpoint, can be an intimidating feature of c++. However they are also very useful which makes them an important feature to learn.
Version: n/a Platform(s): n/a Updated: Sun Feb 5 2006
C++ Arrays are the data structures which can be used to store consecutive values of the same data types. Check the URL for the complete explanation on C++ Arrays.
Version: n/a Platform(s): Win NT, XP Updated: Thu Jun 24 2004
C++ practically offers most of the necessary data types except for a basic data type string. This is a big trouble in C++ without such a good feature.
This c++ tutorial will discuss the basic data types necessary for c++ programming.
Version: n/a Platform(s): Unix, Win NT, XP Updated: Thu Jun 24 2004
This is a series of tutorials being developed for the c++ beginners wanting to create games. It starts from the basics and moves onto more advanced stuff.
Version: n/a Platform(s): n/a Updated: Fri Feb 21 2003