Good design and programming is not learned by generalities, but by seeing how significant programs can be made clean, easy to read, easy to maintain and modify, human-engineered, efficient, and reliable, by the application of good design and programming practices. Careful study and imitation of good designs and programs significantly improves development skills.
Input and Output in C/C++.A tutorial covering Streams, C's Stream Functions, Line Input, Formatted Input, Screen Output and Redirecting Input/Output.A nice tutorial for beginners to start interaction with I/O devices.
A tutorial covering array declaration, accessing array elements, entering data, initializing arrays, and multidimentional arrays. This tutorial also includes code examples as needed.
Functions groups a number of program statements into a unit and gives it a name.This tutorial covers how to write simple functions in C language. Then how to pass values to the functions, functions signaure and its return types etc...
To create more advanced and complete objects, C++ allows you to group these identifiers and create Classes. We will cover how to Define & declare a class, initialize a class, its constructors and destroctors, class member functions & private functions and finally how to declare objects from a class.
Moving to a garbage-collected environment in the Common Language Runtime has, for the most part, made memory leaks a problem of the past. However, the lack of deterministic finalization implied by the garbage collection scheme makes management of non-memory resources more difficult. The C++ community has found that the "resource acquisition is initialization" [1] idiom is very effective in managing those resources that need to be freed as soon as possible. We added reference counting to the Shared Source Common Language Infrastructure to regain deterministic finalization, and to find out what the penalties would be for this extra memory management.