[Programming] CPP / C++

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
User avatar
sinux3r
Posts: 383
Joined: 17 Dec 2009, 13:00
Location: # apt-get install mydreams
Contact:

[Programming] CPP / C++

Postby sinux3r » 24 Dec 2010, 22:41

Halo kawan-kawan. Ane coba share sedikit pengetahuan ane ya. So, Maaf klu agak kacau, maklum ane masih nubi. bagi master-master bisa lewat aja kok. dan tidak disarankan membaca. coz ini cm untuk newbie/ pemula seperti saya.

Aplikasi
Tampilkan
[img:center]http://www.codeblocks.org/images/stories/imagebrowser/scr1.png[/img]

sumber: http://www.codeblocks.org/


Tutorial
Tampilkan
http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/codeblocks-instructions.pdf
http://www.cplusplus.com/articles/
http://www.cprogramming.com/
http://onnerby.se/~daniel/chm/cppreference.com/cpp.chm


Program pertama:
Tampilkan
#include

using namespace std;

int main()
{
cout << "It's my first C++ program! \n";
cout << "I'am sure that I will be familiar whit this!";
cout << "--------------------------\n";
return 0;
}


Share dong trik-tips dan contoh pemrograman yang lainya. Silahkan post di sini ya..

regards,
sinux3r

CMIIW (Correct Me If I'm Wrong)
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: [Programming] CPP / C++

Postby lisnux » 25 Dec 2010, 06:12

ayo-ayo tip & trik nya, mau belajar juga neh :D
User avatar
aptfast
Posts: 3847
Joined: 03 Jan 2010, 23:38
Location: Jakarta, Indonesia
Contact:

Re: [Programming] CPP / C++

Postby aptfast » 25 Dec 2010, 17:53

ikutan ya bro...
newbie juga neh... :(
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: [Programming] CPP / C++

Postby zitux » 25 Dec 2010, 19:07

sundul sini :grin:
User avatar
sinux3r
Posts: 383
Joined: 17 Dec 2009, 13:00
Location: # apt-get install mydreams
Contact:

Re: [Programming] CPP / C++

Postby sinux3r » 26 Dec 2010, 02:55

thanks buat semua yang dah masuk.

Bantu rate ato sundul yak.. Biar ttap Exisssst....
yang laen bisa nyumbang kok,,,
User avatar
ined
Posts: 2
Joined: 29 Dec 2010, 22:59

Re: [Programming] CPP / C++

Postby ined » 29 Dec 2010, 23:13

sundul jg ah
User avatar
BudaSuyasa
Posts: 246
Joined: 22 Nov 2010, 22:04
Location: Denpasar, Indonesia
Contact:

Re: [Programming] CPP / C++

Postby BudaSuyasa » 15 Jan 2011, 13:43

bang ane juga pake codeblock, waktu compile muncul pesan[quote]Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings



nah gimana tuch bang?? maklum baru belajar c++
User avatar
freeazy
Posts: 1329
Joined: 04 Jan 2010, 00:13
Location: Makassar
Contact:

Re: [Programming] CPP / C++

Postby freeazy » 15 Jan 2011, 21:33

BudaSuyasa wrote:bang ane juga pake codeblock, waktu compile muncul pesan
Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings



nah gimana tuch bang?? maklum baru belajar c++


coba jalankan ini dari Terminal:

Code: Select all


aptitude show g++ | grep State:



kalo hasilnya not-installed maka install dulu g++ nya

Code: Select all

sudo apt-get install g++
User avatar
BudaSuyasa
Posts: 246
Joined: 22 Nov 2010, 22:04
Location: Denpasar, Indonesia
Contact:

Re: [Programming] CPP / C++

Postby BudaSuyasa » 15 Jan 2011, 22:16

freeazy wrote:
BudaSuyasa wrote:bang ane juga pake codeblock, waktu compile muncul pesan
Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings



nah gimana tuch bang?? maklum baru belajar c++


coba jalankan ini dari Terminal:

Code: Select all


aptitude show g++ | grep State:



kalo hasilnya not-installed maka install dulu g++ nya

Code: Select all

sudo apt-get install g++


wuih udah mau bang...
ternyata g++ nya belum diinstal toh...
thanks banget bang....
:grin:
User avatar
muca_sali01
Posts: 14
Joined: 18 Dec 2010, 21:09

Re: [Programming] CPP / C++

Postby muca_sali01 » 20 Jan 2011, 21:32

gan ada g g++ yg bisa ane install offline..
cz ane g ada koneksi ni
thanks tas infona
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: [Programming] CPP / C++

Postby blackshirt » 20 Jan 2011, 21:48

cek dulu di cd installernya, apakah sudah ada ??
kalau belum bisa donwoload manual beserta dependensinya :grin:
User avatar
cy132x
Posts: 5
Joined: 12 Jan 2011, 02:24
Contact:

Re: [Programming] CPP / C++

Postby cy132x » 21 Jan 2011, 04:29

Ikutan ,,,

saya juga newbie dalam pemrograman...
User avatar
Arunaru
Posts: 326
Joined: 19 Jan 2011, 13:44
Contact:

Re: [Programming] CPP / C++

Postby Arunaru » 21 Jan 2011, 07:29

ane bantu sundul gan!!
Nice nih, gw suka pake C
Mantap praktis kalo gw pikir :p
:yay: :yay: :yay:
User avatar
leems
Posts: 4
Joined: 19 Jan 2011, 07:28
Location: gorontalo

Re: [Programming] CPP / C++

Postby leems » 21 Jan 2011, 23:26

sinux3r wrote:Halo kawan-kawan. Ane coba share sedikit pengetahuan ane ya. So, Maaf klu agak kacau, maklum ane masih nubi. bagi master-master bisa lewat aja kok. dan tidak disarankan membaca. coz ini cm untuk newbie/ pemula seperti saya.

Aplikasi
Tampilkan
[img:center]http://www.codeblocks.org/images/stories/imagebrowser/scr1.png[/img]

sumber: http://www.codeblocks.org/


Tutorial
Tampilkan
http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/codeblocks-instructions.pdf
http://www.cplusplus.com/articles/
http://www.cprogramming.com/
http://onnerby.se/~daniel/chm/cppreference.com/cpp.chm


Program pertama:
Tampilkan
#include

using namespace std;

int main()
{
cout << "It's my first C++ program! \n";
cout << "I'am sure that I will be familiar whit this!";
cout << "--------------------------\n";
return 0;
}


Share dong trik-tips dan contoh pemrograman yang lainya. Silahkan post di sini ya..

regards,
sinux3r

CMIIW (Correct Me If I'm Wrong)


Thanks Gan Atas infonya!!!
User avatar
paketux
Posts: 2
Joined: 22 Jan 2011, 21:50

Re: [Programming] CPP / C++

Postby paketux » 22 Jan 2011, 21:54

Waahh ini yang ane cari-cari.

Tengkyu ya.
User avatar
d1aan
Posts: 3
Joined: 17 Jan 2011, 19:24
Location: Yogyakarta

Re: [Programming] CPP / C++

Postby d1aan » 23 Jan 2011, 20:13

cara compile script gmna???di G++ mohon bantuan....masih newbie ni tentang pemrogaman
User avatar
mifta19
Posts: 92
Joined: 18 Nov 2010, 19:17
Location: Surabaya
Contact:

Re: [Programming] CPP / C++

Postby mifta19 » 26 Jan 2011, 08:37

d1aan wrote:cara compile script gmna???di G++ mohon bantuan....masih newbie ni tentang pemrogaman



Kalo saya begini:

script programnya begini:
Tampilkan
#include
main()
{
int fahr, celcius;
int lower, upper, step;

lower = 0;
upper = 500;
step = 10;

fahr = lower;
while (fahr <= upper)
{
celcius = 5 * (fahr-32) / 9;
printf("%d\t%d\n", fahr, celcius);
fahr = fahr + step;
}
}


terus diterminal saya ketik:
g++ /home/mifta/Belajar/belajar1.cpp -o /home/mifta/Belajar/belajar.out

terus diterminal lagi:
'/home/mifta/Belajar/belajar.out'

terus diterminal akan muncul begini:
Tampilkan
0 -17
10 -12
20 -6
30 -1
40 4
50 10
60 15
70 21
80 26
90 32
100 37
110 43
120 48
130 54
140 60
150 65
160 71
170 76
180 82
190 87
200 93
210 98
220 104
230 110
240 115
250 121
260 126
270 132
280 137
290 143
300 148
310 154
320 160
330 165
340 171
350 176
360 182
370 187
380 193
390 198
400 204
410 210
420 215
430 221
440 226
450 232
460 237
470 243
480 248
490 254
500 260



terus...hehe..maaf..bahasanya newbie banget..
User avatar
aptfast
Posts: 3847
Joined: 03 Jan 2010, 23:38
Location: Jakarta, Indonesia
Contact:

Re: [Programming] CPP / C++

Postby aptfast » 26 Jan 2011, 20:46

wew.....yg di atas....
newbie tapi expert... :D
User avatar
mifta19
Posts: 92
Joined: 18 Nov 2010, 19:17
Location: Surabaya
Contact:

Re: [Programming] CPP / C++

Postby mifta19 » 27 Jan 2011, 20:36

hahaha....ini bang aptfast iso-iso ae.. :grin:
saya juga baru belajar nih :grin:

Return to “Aplikasi Ubuntu”

Who is online

Users browsing this forum: No registered users and 19 guests