UNKLAB FORUM

Forum Mahasiswa & Alumni Universitas Klabat
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in
Bagi Guest atau user yang tidak terdaftar, mohon maaf karena ada beberapa thread tidak bisa diakses oleh guest, oleh karena itu, sebaiknya anda registrasi terlebih untuk bisa mengakses penuh forum ini. Baca dulu peraturan forum ini. Terima Kasih
Navigation
 Index
 Memberlist
 Profile
 FAQ
 Search
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Lowongan Pekerjaan PT. PNM (Persero)
Wed Nov 08, 2017 7:01 pm by CLiFF

» .NET Programming
Tue Mar 15, 2011 6:49 pm by Marvin07

» Bagaimana Menginstal OS dari USB???
Thu Feb 10, 2011 9:55 pm by unaitech

» Automatic Installation BackTrack 3 Final | Dual Booting
Thu Feb 10, 2011 9:53 pm by unaitech

» simple hacking test
Thu Feb 10, 2011 7:38 pm by and213

» [tutor] How To Patch SQL Injection Bug
Thu Feb 10, 2011 9:52 am by unaitech

» what ur distro..?
Thu Feb 10, 2011 9:48 am by unaitech

» netcut source-code
Thu Feb 10, 2011 9:44 am by unaitech

» Ragnarok Online
Mon Jan 31, 2011 1:57 pm by Marvin07

FRIENDS
Ads

    No ads available.



    Share | 
     

     Tolong contoh source codenya donnk..

    View previous topic View next topic Go down 
    AuthorMessage
    foreigner
    Moderator
    Moderator
    avatar

    Male Number of posts : 74
    Age : 36
    Location : Abepura, Jayapura, ID
    Points : 26
    Registration date : 2008-06-07

    PostSubject: Tolong contoh source codenya donnk..   Sun Apr 26, 2009 4:09 pm

    Salam para pecinta C dan C++, mohon bantuannya bagi siapa yang ada contoh2 latihan c, mohon dipost di topic ini. Topic ini akan jadi bahan pembelajaran bagi teman2 kita yang ada di Universitas Victory, Terima kasih, GBU all
    Back to top Go down
    View user profile http://www.phpclasses.org
    cokiki
    Moderator
    Moderator
    avatar

    Male Number of posts : 263
    Age : 29
    Location : RUMPUT
    Points : 120
    Registration date : 2008-06-18

    PostSubject: Re: Tolong contoh source codenya donnk..   Tue Apr 28, 2009 6:40 pm

    bro...
    saya punya tapi ada di website sya...
    malu
    di hiks-inc.biz bagian article trus source code....
    semoga membantu...
    oo ia, besok mungkin baru on lagi websitenya...
    coz baru bayar hosting... Very Happy
    Back to top Go down
    View user profile http://www.hiks-inc.biz
    CLiFF
    Administrator
    Administrator
    avatar

    Male Number of posts : 564
    Age : 31
    Location : Anywhere...
    Points : 10009
    Registration date : 2008-06-03

    PostSubject: Re: Tolong contoh source codenya donnk..   Tue Apr 28, 2009 8:50 pm

    latihannya yang beginner or intermediate ??

    or kira2 seperti yang dipelajari di computer programming 1&2 di UK ?

    _________________
    Einstein said "The true definition of stupidity is to do the same thing time and again and expect a different outcome."





    http://unklab.forum.st/
    Back to top Go down
    View user profile http://unklab.forum.st
    jzt.nwbie
    Administrator
    Administrator
    avatar

    Male Number of posts : 529
    Location : /home/jzt.nwbie
    Points : 109
    Registration date : 2008-09-16

    PostSubject: Re: Tolong contoh source codenya donnk..   Sun May 03, 2009 1:15 am

    planetsourcecode.com
    juga boleh jadi referensi stou...??

    _________________
    wanna be computer geek, nerd, etc...!!!
    Back to top Go down
    View user profile
    CLiFF
    Administrator
    Administrator
    avatar

    Male Number of posts : 564
    Age : 31
    Location : Anywhere...
    Points : 10009
    Registration date : 2008-06-03

    PostSubject: Re: Tolong contoh source codenya donnk..   Wed May 06, 2009 6:38 am

    mungkin code dibawah ini bisa membantu

    Menampilkan Hello World
    Code:

    //hello world on screen
    //by Cliff
    #include <iostream.h>

    main()
    {
    cout<<"HELLO WORLD"<<endl;

    }

    Hello Looping (for)
    Code:

    #include <iostream.h>
    #include <conio.h>



    int x;

    main()
    {
    for (x=1; x<=5; x++)

    cout<<"hello"<<endl;


     getch();

     }


    Menampilkan BIlangan Ganjil

    Code:

    //program bilangan ganjil

    #include <iostream.h>
    #include <conio.h>

    int i,x,mod;

    main()

    {
    cout<<"input integer number <";
    cin>>x;

    for (i=1; i<x; i++)
    {mod=i%2;
    if (mod==1)
    {cout<<i<<" ";}
    }
    getch();
    }

    BIlangan Ganjil dan Genap
    Code:

    //program bilangan ganjil dan genap
    //by, pangkey, finecliff
    #include <iostream.h>
    #include <conio.h>

    int i,x,mod;
    int pil;

    main()
    {
    cout<<"-------------------------"<<endl;
    cout<<"BILANGAN GANJIL DAN GENAP"<<endl;
    cout<<"-------------------------"<<endl;
    cout<<"1. Bilangan Ganjil"<<endl;
    cout<<"2. Bilangan Genap"<<endl;
    cout<<"Pilihan (1 OR 2 then press enter):";
    cin>>pil;


    if (pil==1)
    {

    cout<<"Bilangan Ganjil"<<endl;
    cout<<"Masukkan Angka <";
    cin>>x;
    for (i=1; i<x; i++)
    {
    mod=i%2;
    if (mod==1)
    {cout<<i<<" ";}
    }
    }
    if (pil==2)
    {
    cout<<"Bilangan Genap"<<endl;
    cout<<"Masukkan angka <";
    cin>>x;
    for (i=1; i<x; i++)
    {
    mod=i%2;
    if (mod==0)
    {cout<<i<<" ";}
    }
    }
    getch();
    }

    Penggunaan DO-WHILE untuk menampilkan bilangan bulat
    Code:

    #include <iostream.h>

    #include <conio.h>

    int i;

    main()

    {

    cout<<"program menampilkan bilangan bulat"<<endl;

    i=1;

    do

    {cout<<i<<" ";

    i=i+1;}

    while (i<=10);

    getch();

    }

    Nested For (FOR bersarang)
    Code:

    //nested for/for bersarang
    //output program
    /*for x=1
      for y=1
    output=1 1

    for x=2
    for y=1
    output=2 1
          2 2

    for x=3
    for y=1
    output=3 1
          3 2
          3 3

    for x=4
    for y=1
    output=4 1
          4 2
          4 3
          4 4
    */

    #include <iostream.h>

    #include <conio.h>

    main()

    {

    for (int x=1;x<=4;x++)

    {for (int y=1;y<=x;y++)//nested for

    {cout<<x<<" "<<y<<endl;}//nested for

    }

    getch();

    }

    FUNCTION

    Code:

    #include <iostream.h>

    #include <conio.h>

    void functionOne()

    {cout<<"ini fungsi 1";}

    void functionTwo()

    {cout<<"ini fungsi 2";}

    main()

    {

    int choice;

    cout<<"MENU UTAMA";

    cout<<"\n [1]. Panggil functionOne\a";

    cout<<"\n [2]. panggil functionTwo\n";

    cin>>choice;

    if (choice==1){functionOne();}



    else

    {functionTwo();}

    getch();

    }

    FUNCTION (Fungsi) untuk penjumlahan dan pengurangan
    Code:

    #include <iostream.h>

    #include <conio.h>

    int hasil;

    void penjumlahan(int x,int y)

    {hasil=x+y;

    cout<<"hasil= "<<hasil;

    }

    void pengurangan(int x,int y)

    {hasil=x-y;

    cout<<"hasil= "<<hasil;

    }

    main()

    {

    int choice,a,b;



    cout<<"MENU PROGRAM\n";

    cout<<"[1].Penjumlahan 2 bilangan\n";

    cout<<"[2].Pengurangan 2 bilangan\n";

    do
    {cout<<"Masukan Pilihan anda [1] or [2]= ";
    cin>>choice;}


    while (choice!=1&&choice!=2);

    cout<<"input 1st number: ";cin>>a;
    cout<<"input 2nd number: ";cin>>b;

    if (choice==1)
    {penjumlahan (a,b);}

    else
    {pengurangan (a,b);}


    getch ();
    }

    FUNCTION untuk swap
    Code:

    #include <iostream.h>

    #include <conio.h>


    int a,b,temp;


    void swap()

    {

    cout<<"PROGRAM SWAP TWO INTEGER NUMBER \a\n";

    cout<<"\n";

    cout<<"Input First Integer Number:";

    cin>>a;

    cout<<"\aInput Second Integer Number:";

    cin>>b;


    temp=0;


    temp=a;



    a=b;

    b=temp;




    cout<<"\n";

    cout<<" AFTER SWAP:\n";

    cout<<"\n";

    cout<<"\n";


    cout<<"\aFirst Integer Number:"<<a<<endl;

    cout<<"Second Integer Number:"<<b<<endl;}


    main()

    {

    {swap();}

    getch();

    }

    TO BE CONTINUED......

    _________________
    Einstein said "The true definition of stupidity is to do the same thing time and again and expect a different outcome."





    http://unklab.forum.st/
    Back to top Go down
    View user profile http://unklab.forum.st
    cokiki
    Moderator
    Moderator
    avatar

    Male Number of posts : 263
    Age : 29
    Location : RUMPUT
    Points : 120
    Registration date : 2008-06-18

    PostSubject: Re: Tolong contoh source codenya donnk..   Thu May 07, 2009 1:10 pm

    tambah nih....
    yg keren codeproject.com
    tapi rata2 disitu udah advanced n kelas Visual semua...
    tapi pasti ada...
    di cari aja...
    Back to top Go down
    View user profile http://www.hiks-inc.biz
    Sponsored content




    PostSubject: Re: Tolong contoh source codenya donnk..   

    Back to top Go down
     
    Tolong contoh source codenya donnk..
    View previous topic View next topic Back to top 
    Page 1 of 1
     Similar topics
    -
    » limited source bidding
    » LOOK! Proof of A Light Source Found On Mars!
    » BAC Honoraria : Funding Source
    » GEK Gasifier free plans open source
    » Summary: Gliese 581 c

    Permissions in this forum:You cannot reply to topics in this forum
    UNKLAB FORUM :: KLABAT UNIVERSITY :: Computer Science Faculty :: Programming :: C , C++ and C#-
    Jump to: