Cout Snippets


18 February, 2013   

A C++ algorithm which encrypts an alphanumeric password.

Source code for C++ program, declaring a number of variables of various types.

11 October, 2018   

C++Code Snippets to Write a character using cout

Example for using thousand separator (,) for decimal integer numbers

This program checks whether an year (integer) entered by the user is a leap year or not.

Example for using thousand separator (,) for decimal integer numbers

20 August, 2011   

Source code for C++ program printing various data to the console.

02 May, 2013   

A Closer Look at the I/O Operators

06 August, 2012   

Showing how to work with dynamically allocated arrays

15 November, 2011   

Source code of C/C++ program, showing how to work with arrays.

27 February, 2012   

C++ while loop - User enters in the number of looping times

22 November, 2015   

To print out all possible subsets in lexicographic order

28 February, 2013   

C++ Code example for Cin getline

17 January, 2013   

Code snippet for showing number guessing game by C++ program

C++ source code for standard ASCII table generator

C++ source code for binary addition using stack in STL

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

19 November, 2013   

C++ code example for binary addition using stack in STL

C++ Code Snippets for Octal - Hexadecimal - Decimal conversion