wanna read some code

This is a discussion on wanna read some code within the A Brief History of Cprogramming.com forums, part of the Community Boards category; no, i don't really need help with my program, i would just like some people to take a look at ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    16

    wanna read some code

    no, i don't really need help with my program, i would just like some people to take a look at it and let me know how i'm doing. The problem is that with my classes, i never get any feedback on my programs, its either a pass or a fail, so i don't know if i'm doing the
    right stuff. Its written in Visual C++, and comes with 3 files ( we are required to have a main, header, and function file, sorry). Take a look if you like, i could use some feedback. Its attached somewhere on this message.
    Thanks
    Attached Files Attached Files
    always learning, always frustrated

    http://www.snakshak.net

  2. #2
    Registered User
    Join Date
    Jun 2002
    Posts
    16
    oh yeah, heres a sample program that reads two numbers that simpletron will run.
    Attached Files Attached Files
    always learning, always frustrated

    http://www.snakshak.net

  3. #3
    Unregistered
    Guest

    that looks pretty interesting, what class are you taking?

    what level class is this? i wish i was getting assignment like that?

    pretty impressive

  4. #4
    Registered User
    Join Date
    Jun 2002
    Posts
    16
    the 2nd class in line of my major

    The first Class was C, this one is called Data Structures and deals with C/intro to C++.

    Thanks for taking a look.
    always learning, always frustrated

    http://www.snakshak.net

  5. #5
    Much older and wiser Fountain's Avatar
    Join Date
    Dec 2001
    Location
    Engeeeerland
    Posts
    1,158
    how the hell do i get it to work?
    Such is life.

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    16
    Your supposed to load in one of the textfiles, use that one from the 2nd post. Either change the code to make it open that file, or
    put that file in the same directory as the executable, then use the choice 1 when it asks for a file. This program is called Simpletron, and it olny understands Simpltron Machine Language (SML). Now i just found a bug in it, so it won't work for some SML programs that it loads, but it does work find for the one on my 2nd post. Its an assignment for class, so i don't know where you can find information about simpletron. Thanks for looking.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  2. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  3. The best way to read OO code?
    By geek@02 in forum C++ Programming
    Replies: 2
    Last Post: 03-07-2004, 03:02 PM
  4. Seems like correct code, but results are not right...
    By OmniMirror in forum C Programming
    Replies: 4
    Last Post: 02-13-2003, 01:33 PM
  5. << !! Posting Code? Read this First !! >>
    By biosx in forum C Programming
    Replies: 1
    Last Post: 03-20-2002, 12:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21