Monday, November 19, 2012

Modul_1: Basic of C++ Programming ( How to install Microsoft Visual Studio 2010 )

Modul_1 : Basic of C++ Programming
Nama      : Deab Sina
NIM        : 49012078
Jurusan    : D4 TMD ITB Batch 6



This is video about: How to install Microsoft Visual Studio 2010 and Basic code in C++ Programming.

 

Link to this video:


Source Code:

#include <iostream> // Calling library

int main() // Main method
{
    // Latihan in Modul 1
    // We call comment single line
    /*
        We call comment multi line
    */

    char nama[50]; // We declare char virable nama that can insert 50 character
    int nim; // We declare int virable nim
    std::cout<<"Welcome to C++ Program\n"; // We use it for print everything in the string
    std::cout<<"Nama: "; // To get value from keyboard or user
    std::cin>>nama;
    std::cout<<"NIM : ";
    std::cin>>nim;
    std::cout<<"Jurusan : Ticnik Eletro - STEI - ITB\n";

    system("pause"); // We use for pause processing
    return 0; // For return the value 0

}

Show detail about this Modul.

https://docs.google.com/open?id=0B0z1Cq4I6LpQWTBlSnhiY1N1dXc

No comments:

Post a Comment