User-submitted CPP Projects

50
1648 reads

February 25, 2013

ReferencesInClasses


This example shows references in action. In this example, all Box objects are created through reference variables. void TruckLoad::addBox(Box& rBox) { ........ ...... ... .
21
856 reads
Calculator(1.1)
Calculator app displays a main menu to choose the calculator type.
Calculator(1.1)

Enhancement Trail:  

Calculator(1.1)    Calculator(1.0)





Run It Now!
35
1061 reads
Calculator(1.0)
Calculator app displays a main menu to choose the calculator type. If user chooses standard calculator, then a menu for standard calculator options.
Calculator(1.0)

Run It Now!

Destructor

Firstly, add 3 random sized Box objects to first list and find the largest Box in the list by comparing their volumes. Read more »
24
1711 reads

February 23, 2013

Inverted word collocation


This example demonstrates inverted word collocation.

24
1706 reads

February 23, 2013

Word Collocation file


This example depicts simple word collocation.

23
1663 reads

February 23, 2013

Using inserter


This example shows the use of an inserter.

57
1629 reads

February 23, 2013

Demonstrating_assertions


This example demonstrates the use of assert. If the argument expression is false, a message is written to the standard error device and abort is called, terminating the program execution. This macro
26
1595 reads

February 23, 2013

Debugging_using_preprocessing_directives


The preprocessor directives are instruction to the compiler to preprocess the information before actual compilation starts. There are number of preprocessor directives supported by C++ like #include,
35
1575 reads

February 23, 2013

Using simple integer iterator class file


This example depicts the use of integer iterator class file.