View Full Version : wanna read some code

06-18-2002, 11:27 PM
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.

06-18-2002, 11:32 PM
oh yeah, heres a sample program that reads two numbers that simpletron will run.

06-19-2002, 01:29 AM
what level class is this? i wish i was getting assignment like that?

pretty impressive :)

06-19-2002, 01:35 AM
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.

06-19-2002, 02:54 PM
how the hell do i get it to work?

06-19-2002, 04:21 PM
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.