Belajar C++ Visual Studio

untuk membuat program C++ dalam visual studio. pertama buka visual studio, kemudian pilih win 32 console app. pada window wizard pilih next saja sampai finish, kemudian ketikkan code dibaha ini.
// project.cpp : Defines the entry point for the console application.
//
#include “stdafx.h”
#include <iostream>
int _tmain(int argc, _TCHAR* argv[])
{
std::cout<<” Selamat datang c++ \n”;
return 0;
}
About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s