Our First Program in C++

C++ program can be the one of the greatest programing language, it's for this reason, hope I can write or share some programs using C++, Visual Basic.Net or other Object oriented program. In this case, we can write the program using MinGW Developer Studio which is Free software, here we are. For the sample bellow we just wanna appear "Halo Dunia" in English means 'Hello World'.

// my first program in C++
#include <'iostream>
using namespace std;

int main ()
{
cout << "Halo Dunia!"; return 0; }

After running, we can get result "Halo Dunia". See the difference between Turbo C++, we used printf or scanf but in this Program we just write about cout as printf statement. Have try it ^-^.Note : Oh yup, you mustn't write ' sign before iostream OK!, I just write it to make appear in Javascript of my writing :).

Popular posts from this blog

Introduction to Use Case Diagram - Case study: Facebook

Kenapa tidak berkurban?

Sequential Search