Thread: Post Ur Best Code!

  1. #1
    bored-guy
    Guest

    Thumbs up Post Ur Best Code!

    Alright guys, post your best or favortire code or give a link to your program to download or wutever!
    after a while we can decide on the best code

  2. #2
    Unregistered
    Guest
    here is my hs c++ final project give it a try
    http://www.angelfire.com/wa3/kaos/connect4.exe
    http://www.angelfire.com/wa3/kaos/connect4.cpp

    let me know what you think of it

  3. #3
    Unregistered
    Guest

    Thumbs up

    thats really cool! I will probably play that when i'm bored haha

  4. #4
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    here's my best:
    Code:
    #include <iostream.h>
    #include <conio.h>
    
    int main()
    {
        cout<<"Hello world!";
        _getch();
        return 0;
    }
    just kidding, my best is my text RPG that im making right now. It's currently about 1300 lines of code, i'll post the code later

  5. #5
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    I fixed the bug that allowed windows to boot up, no code necessary

    format c:
    fdisk
    (Install ext2 filesystem)
    echo "Happy!"
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  6. #6
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    ROFL!!!!
    Windows cannot execute connect four.
    Funny, thing is, I know why...
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  7. #7
    Unregistered
    Guest
    Originally posted by Lynux-Penguin
    ROFL!!!!
    Windows cannot execute connect four.
    Funny, thing is, I know why...
    sorry bout that it works fine here

    id be happy to fix it if you let me know how...

  8. #8
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Originally posted by Lynux-Penguin
    I fixed the bug that allowed windows to boot up, no code necessary

    format c:
    fdisk
    (Install ext2 filesystem)
    echo "Happy!"

    Batch file programming, Ugh!

  9. #9
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    no not really batch but a sequence of DOS commands issued
    but echo is a linux command because of the implied (installation) of Linux

    ext2 is the filesystem for Linux
    no more FAT32 or 2Kfs or NTFS etc.

    Linux is my kind of system and a programmers dream system.

    Example...
    The man pages have every common function in its library and you can add on to it for EVERY function in C or JAVA etc.

    Here is a common man page library for you to search through (keep in mind these are mostly command but look for C functions, like Crypt() or printf)

    http://www.rt.com/man/

    Beware many many many commands and functions
    now this comes as DEFAULT on every linux system.
    Last edited by Lynux-Penguin; 05-01-2002 at 09:24 PM.
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  10. #10
    Registered User
    Join Date
    Jan 2002
    Posts
    63
    agreed on the linux

    fav code is cout<< " "<<endl;

    SS3X

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Switch/case Problems (long code in post)
    By Wraithan in forum C++ Programming
    Replies: 2
    Last Post: 12-01-2005, 06:40 PM
  2. Replies: 1
    Last Post: 10-31-2005, 11:36 AM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM