Hello everyone,
I have a problem with a rather simple thing. I have to make the code of a program. The program is already made, I have the executable and all, the only thing I need is the source code(in C). The problem is, I don't really know how to do it.
All the program does is tell you when a light is on or off. It has four switches and a battery. If only one switch is on, then the light is off. If any combination of the four switches(if two are on), then the light is ON. Can somebody help me taking out the code from the executable?
To make the program work, you have to open it in MSDOS and type the name of the program(demoTL0 1) and then the number of the switch to tell it's on... so for example:
demoTL01 1
Tells the program that only the first switch is on, making the light off.
demoTL01 1 2
Tells the program that the first two switch are on, making the light on.
Etc..
Here it is(if you want it, scan it first) and please right click and save as it:
http://www.angelfire.c om/wrestling3/roleplays0/demoTL01.exe
THANKS!!!
I have a problem with a rather simple thing. I have to make the code of a program. The program is already made, I have the executable and all, the only thing I need is the source code(in C). The problem is, I don't really know how to do it.
All the program does is tell you when a light is on or off. It has four switches and a battery. If only one switch is on, then the light is off. If any combination of the four switches(if two are on), then the light is ON. Can somebody help me taking out the code from the executable?
To make the program work, you have to open it in MSDOS and type the name of the program(demoTL0 1) and then the number of the switch to tell it's on... so for example:
demoTL01 1
Tells the program that only the first switch is on, making the light off.
demoTL01 1 2
Tells the program that the first two switch are on, making the light on.
Etc..
Here it is(if you want it, scan it first) and please right click and save as it:
http://www.angelfire.c om/wrestling3/roleplays0/demoTL01.exe
THANKS!!!
Comment