Monday, June 27, 2016

First C++ Program

C++ programming - C++ first program hello world with source code. Today we are going to learn c++ programming. This is our first post about c++ programming. recently we upload some java programming tutorial with source codes that really helpful for programming lovers. C++ is also part of oop as java is.

What is oop ?
The full meaning of oop is object oriented programming, mainly this programming language works throw the object we can say it creates a shadow of object.

OOP follow three rules encapsulation, polymorphisom, inheritence.

First C++ Program

#include <iostream>
#include <cstdlib>
using namespace std;

int main(){

    cout<<"Hello World";
    system("PAUSE");
    return 0;
}

Here Input Output Stream is included in header shortname is <iostream>.
remember: .h extention is no needed to use in C++ as we used in programming C.
cout is for print the text that we used printf in programming C.
To insert C Studio Library here we included <cstdlib>. here you can see the video tutorial to learn more clearly.

C plus plus mainly another upgrated version of c programming language, you all should know if you learn logic then learning any language is very easy. But in oop you need to just learn rules and build them with logic you will get awesome returns from you codes.

Don't forget to leave your valuable comment about c plus plus programming, though i am student of programming so i can't make best practice to show you how it works so pardon if any mistake there. I know practice makes a man perfect so still learning programming and i think you also a good learner like me.
Happy programming  :)


You Like It, Please Share This Article Using...




Don't Forget To Read This Also...




3 comments :

  1. C plus plus program should be performed after getting adequate knowledge on this specific field. There are many people who want to get sarted to know more about the benefits of this C plus plus program. The programmers should be aware of the essay republic for finishing their project just in time. The development of this C++ program should be done early at the beginning of the course.

    ReplyDelete

Speak Your Mind: