c-logo

Learn programming with C++ : Logical Operations

Previous Post: Learn programming with C++ : Mathematical Operations The most common statement in C++ is the expression. Most expressions involve the arithmetic operators, such as addition (+), subtraction (–) and multiplication (*). But there is a whole other class of operators, known as the logical operators. Logical operators fall into two types. The AND and … Continue reading Learn programming with C++ : Logical Operations

c-logo

Learn programming with C++ : Output or display text

Previous Post Link: Learn programming with C++ : Create your first program Its most important in any program language to output results or other type of data on screen. Every programming language has its own syntax and language construct to accomplish this task. Today I will show you how to output “Hello World!” using C++. First … Continue reading Learn programming with C++ : Output or display text

c-logo

Learn programming with C++ : Create your first program

Previous Post Link: Learn programming with C++ : Install Code::Blocks The first step to creating a C++ program is to create what is known as a project. A project tells Code::Blocks the names of the .CPP source files to include and what type of program to create. How to create a project? Start up the Code::Blocks tool. … Continue reading Learn programming with C++ : Create your first program

c-logo

Learn programming with C++ : Install Code::Blocks

If you didn’t read the previous article, here it is Learn programming with C++ : Introduction As we talked earlier, we need an IDE and compiler to write c++ codes and compile it. We will use code::blocks IDE with minGW compiler. First of all we need to download code::blocks from here,  http://www.codeblocks.org/downloads/26 Download “codeblocks-13.12mingw-setup.exe” from the link as … Continue reading Learn programming with C++ : Install Code::Blocks