Last updated on Friday, 06 June 1997
Friends from "Teach yourself more C++" I hope to
put working code for ROBIN here sometime. Though, you can download
working code for the "Day12" here, and
working code for the "Day13" here.
It can be built either with VC++ 4.0, or with VC++ 1.5
(as DOS application not using MFC). There may be
,
but at least it works. Problem I know already, but don't want to work on, is: in the Robin
from Day 13 when program writes "Choice (0 to stop):" we can input value that
does not belong to available choices. Program doesn't make "bullet proofing" here.
Download WinZip if necessary.
By the way, exercises from "Day12" look like very interesting and correct.
It might be helpful to compare them with "Calculator" program from classical
"The C++ Programming Language" by Bjarne Strousrup.
My riddle ...
That's old story. You, probably, know the answer.
I take a metro to go home after my long programmer's work day. It happens sometimes
earlier, sometimes later. There are two metro lines going through the same
Braddock Road Station - blue and yellow. I need the yellow train to go home.
The trains are always alternating. But what a strange thing I noticed:
in the most cases the blue line train comes in first.
And I'm forced to wait more for the next one. Again, there is only one rail-road;
blue and yellow trains always alternate.
1) How is it possible?
2) Does it mean that if I had to use blue train instead of yellow one, I would waste
less time waiting?
You can post answer into my
Guest Book.
I wish you do not breake your mind thinking...
Take it easy.
(This task went from one of Russian Math/Physic Olympiad. People, who already know it:
if you feel, that my formulation of the task is not clear enough, please
tell me how to make it better.
People, where are you? Where is the correct answer?
Probably, I'll publish it here in a week or two... Take a last chance to solve this task
by yourselves!
Hurrah! There is the right answer!
My donats ...(crazy, crazy: donations)
One year before, when I studied Borland Delphi at home, I made the small dll.
It is Delphi 1.0 application that performs file/directory search on the all
of subdirectories of the given one. Probably, I reinvented the weel when struggled
with the algorithm. It is something like FIFO queue, as I understand it now after
completing ZDU "More C++" course with Jesse Liberty (His interesting although
buggy book is "Teach Yourself More C++ Programming in 21 Days").
I'm going now first to make sure, that everything is correct and is working with
any host application, not only Delphi program. And I will post here the source
code. Note, it does not use recursion that brought some advantages.
HTML Tricks
I'm novice in the Web Publishing. As I learn, I will publish here some tricks
for novice Web Publishers like myself.
Note, how I wrote JavaScript to bring up background sound!
(go to
my Home Page to see other sub-pages).
Those scripts play every day new MIDI file from the array. I use <BGSOUND> for MSIE
and <EMBED> tag for Netscape Navigator.
My links ...
-
Here you can find by far the best support
and advices from the leading programmers
- C++ stuff:
-
EckelOBJECTives
C++ Programming Language Tutorials
- Delphi stuff:
-
Borland Online
- Learning:
excellent way to do
-
ZD Net - it's the place you can learn HTML and many others programming languages!
- Books:
-
Amazon Computer Books
SIGSnet Publishing House
The Coriolis Group Website