Article View: att.lang.c++
Article #236I would like somebody to write a programmee in C++
From: 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
Technical Details
Message-ID:
<365A8006.8F347DD7@ias.wat.waw.pl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4ba,d4657c42e8ab2afb,start X-Google-Attributes: gid10d4ba,public From: Maciej Fabisiak <maciekf@ias.wat.waw.pl> Subject: I would like somebody to write a programmee in C++ Date: 1998/11/24 Message-ID: <365A8006.8F347DD7@ias.wat.waw.pl> X-Deja-AN: 415114013 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.icm.edu.pl X-Trace: sunsite.icm.edu.pl 911900818 20777 194.181.86.242 (24 Nov 1998 09:46:58 GMT) Organization: Wojskowa Akademia Techniczna Mime-Version: 1.0 NNTP-Posting-Date: 24 Nov 1998 09:46:58 GMT Newsgroups: att.lang.c++