Begin CPlusPlus programming

cplusplus

Begin CPlusPlus Programming

Since we have debated on the facts where C++ has edge over other language. Let us start writing something with C++ editor in order to begin C++ programming. In my case, it is visual studio 2012 development IDE due to its enormous features. Our first program is Hello C++ and let us see what we have to do with our C++ development IDE.
Remember one thing before learning something new is to have love for this features. Your love, passion and hunger will make you the champ, not those hurting words that common people often use. Just keep them aside.Always think like that their profession is to talk non-sense or to make joke. In simple, these sort of people are dumb.So, you are the best and think like this 200 times a day.
Our first program is quite simple, it uses cout for displaying output to the console.

Program

/*Pre-compiled headers can greatly speed the up the compilation of the .cpp files in your project.
By convention, it is stdafx.h that #includes all of the .h files that you want to be precompiled.
You can name it anything you want but the project template just picks stdafx.h*/

#include “stdafx.h”
//The iostream library is an object-oriented library that provides input and output functionality using streams.
#include
// namespace std contains many classes
using namespace std;

int main()
{
// cout is used to display out put on console
cout << "hello C++ lovers.n"; return 0; }

Output

Hello C++ lovers


Syed Adeel Ahmed
Syed Adeel Ahmed
Analyst, Programmer, Educationist and Blogger at Technofranchise
Computer Systems Engineer from Sir Syed University Of Engineering & Technology.I am passionate about all types of programming.

Published by

Syed Adeel Ahmed

Computer Systems Engineer from Sir Syed University Of Engineering & Technology.I am passionate about all types of programming.