CPP program to compress text file

CPP program to compress text file using C++ file handling. This is the third program in the series of compression utility that we are trying to build. Other programs that we have already covered in this series are Remove multi-line comments from any text file ( C/C++ style comments ) Remove single line comments from […]

Cpp Program to generate number Tree

C++ program to generate number tree is one of the best program to explain nesting of for loop and how they are executed.  The other such high thinking program that may appear in Inter school computer programming competitions are also available here. The source of number tree written in C++ is as follows /* program […]

CPP program to check valid Identifier

C++ program to check the validity of any input string whether the inputted string is a valid identifier or invalid identifier.  While developing this program we followed the basic rules of a valid identifiers in C/C++. All the valid identifiers should either start with alphabet or underscore (_). It should not contain any special character […]

CPP program to replace multiple spaces with single space

C++ program to replace multiple spaces with single space is the third program of the same compression utility that we are trying to build in this series. The previous two programs are  C++ program to remove multi-line comments from any text file ( C/C++ style comments) C++ Program to remove single line comments from any […]

CPP program to remove single line comment from text file – C/C++ style Comments

In this C++ program we will remove all single line comments that start with double slash(//). This program is a part of the same compression utility program in which we will input any text file and will receive output file without any single line comment. C++ Program to remove multi-line comment The program is developed […]