Best C++ Programming Language Books For Beginners

Monday, February 08, 2016

Best C++ Programming Language Books For Beginners

The best way of starting to learn a programming language is by reading a book.

So if you are still a beginner in learning the C++ programming language, here's  a list of the best C++ books you can get started reading.

1. C++: The Ultimate Guide To Learn C Language This C++ book by Peter Hoffman which is aimed for beginners. The book has 66 pages which is indeed a short book which a beginner can go through within one day. 


Learn C++ From Scratch Series

Monday, December 09, 2013

Learn C++ From Scratch Series

In every thing, a beginner would always want to know what he needs in order to start learning, where to start and how to start. In the same way, becoming a software developer or programmer, one has to start learning from the start. Knowing this need, this page will help a beginner of C++ to take every step learning how to program C++. This is a series of topics and tutorials which will help a beginner to take learning in a step by step process.


How To Create A C++ Win32 Application Project in Visual Studio

Friday, November 22, 2013

How To Create A C++ Win32 Application Project in Visual Studio

As a beginner, one has to start learning a programming language through reading a tutorial and to try out himself the examples as he goes through the tutorial. This way he can experience how a program runs and he can see what it looks like. Thus, it is extremely important that as a beginner, he should know where to write the programs. The application, where someone use to write a program, is called an editor. But for one to write and run his programs, programmers use the applications called an IDE (Intergrated Development Environment) which contains an editor, compiler and other sets of useful software development tools.


Multiplication Table (10 x 10)

Thursday, September 12, 2013

Multiplication Table (10 x 10)

Problem:

Write a multiplication table ( 10 x 10) The following program shows a 10 x 10 multiplication table.

It uses the escape sequence for horizontal tab (\t) to properly align the table.

/* Multiplication Table (10 * 10) */ #include <iostream> using namespace std; int main(void) { int x,y; char waitInput; for(x=1; x<=10; x++) { for(y=1; y<=10; y++) { //use horizontal tab (\t) to align properly cout << "\t" << (x*y); } //newlines cout<<endl<<endl; } cin>>waitInput; return 0; }


Reverse The Number

Wednesday, September 11, 2013

Reverse The Number

Problem:

Write a C++ program which ask for a number and reverse its digits.

Ex. Number = 1234 , the answer will be 4321 In order to reverse the number, we have to get the every digit starting from the rightmost or the last digit. In the above example it is number 4, then next is 3, then 2 until 1.


Check If A Number Is A Prime Number

Tuesday, September 10, 2013

Check If A Number Is A Prime Number

Problem:

Write a C++ program which checks if a number is a prime number or not? A prime number is any natural number greater than 1 with no other positive factors other than 1 and itself. 

Let's take 5 as an example:

1 and 5 (the number itself) can evenly divide 5 so they are factors of 5.


Prime Numbers Between 1-1000

Monday, September 09, 2013

Prime Numbers Between 1-1000

Problem:

Write a C++ program which prints all the prime numbers from 1-1000. 

Prime numbers are numbers greater than 1 and which has 1 and the number itself as positive factors or divisors. It doesn't have a positive factor or divisors other than 1 and the number itself.

Let's take 5 for example:

1 and 5 (the number itself) can evenly divide 5 so they are factors of 5.