Thread View: att.lang.c++
1 messages
1 total messages
Started by Maciej Fabisiak
Tue, 24 Nov 1998 00:00
I would like somebody to write a programmee in C++
Author: Maciej Fabisiak
Date: Tue, 24 Nov 1998 00:00
Date: Tue, 24 Nov 1998 00:00
24 lines
1855 bytes
1855 bytes
Hi I would like somebody to write a programmee in C++, which works for
long-integers numbers, with variables [A..Z] consisting of unlimited
strings of digits so that we can assume that the value of the
variables
will be with in the range of type doubleProgrammee commands:$A:print
variable A
$:print a list of all variables!A:delete variable A!:exit program
> A=31224902318451023845023918534850932: input variable A
> A=B: value of variable A becomes B> A=B+C: add> A=B-C: substract
> A=B*C: multipply> A=B/C: divide> ?: print help about >
Before exiting the progrmammee saves the variables to the harddrive,
under
the same name od the file it was executeld from (in the directory file)
but with a different extention (ie start.exe ----> start.bdz)
At the beginnig the programmee reads the variable data from the file.
If
the programme cannot fing the file with data then understands it as if
there wasn't any data to start with.Executing the programmee:
1. string/sxxx: reads file xxx and saves to it as opposed to
saving to the standard file;
2. /?: prints help about all strings possible
Maciek
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads