Oke , langsung saya malam ini saya ingin berbagi tentang membuat hello world! di Visual studio 2012.
1.Open your Visual Studio 2012
2.Create a new Project
3.Select C++ Category and Select Empty project
4.After you give the project name and save it . Now you need to make new item on the resource folder . So right click your resource folder at Solution Explorer and add new item
5.Write whatever you want for the name .
6. And write this fucking code on your editor :
[code]
#include <iostream>
#include <conio.h>
using namespace std;
void main(){
//Cout untuk menampilkan pesan teks pada console
cout << "Hello World! Im still newbie \n";
//Getch untuk menahan terminal agar tidak langsung terclose
_getch();
}
[/code]
Oke , jika sudah coba save dan jalankan . Penampakannya seperti ini gan :

Oke sekian posting pendek dari saya , selamat belajar and happy coding!
Post a Comment