Selasa, 25 Januari 2011

learning C++ in ubuntu

if you want to practicing C++,first  you must install

sudo aptitude install build-esential g++
and,
sudo aptitude install build-esential gcc,
it will be make our ubuntu can compile and run c programming language and it derivate

and then install an ide like geany or  code::block(i recomended its ide because it simple and easy to use)
you can install via teminal if you won't wait install any longer or you can install in ubuntu software centre,because is more easy.

and this an example coding :

#include <iostream>(in ubuntu we must write 'iostream' without using '.h 'in the end)
#include <stdlib.h>(if you want a clearscreen,you can't using conio.h,because it just exist in windows/DOS platform)
using namespace std;(this is using to translate "cout" command)
int main()(caution you cannot write void main,because it doesn't exist in ubuntu)
{
system("clear");
cout<<"hello world\n";

return 0;
}

please give a comment if it false

Selasa, 04 Januari 2011

daftar alamat kalo aku pas ngenet

1.blogger
kalo gag buka blogger mw nulis ini dimana coba(hahaha)
2.facebook
jadi hiburan buat bikinn status gila n baca status cwek2 lebay.hihihihi
3.kaskus
ni tempat ku dapet ilmu dari yang penting-penting ampe cm yang bikin ngakak-ngakak.hhehehehe
4.plurk
ni gara2 karma nya manja banget,gag dibuka sekali aja,turunye banyak banget.huuhuu
5.ymail and gmail
ni ku pake buat ngirim berbagai macam kerjaan aku dan sharing tugas.hohoho