TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CLIFF RHODES
from: FRANK MASINGILL
date: 1997-05-15 01:47:00
subject: Casts, etc.

 > There are a few more improvements you could make to your code.
 > For
 > instance, you should make simple procedures 'inline'. What that
 > You can make a member function inline by including its body in
    I started an intensive study of functions today.  I know, intellectually, 
how important it is to ground one's self in the basics of the language.  Just 
need to learn it emotionally!
    Our MD generalist told my wife with some controlled frustration in his 
tone of voice that she "had too many doctors!"  I probably have "too many 
books!"  While I've expressed some enthusiam for a couple of them I'm finding 
that the most thorough for the untrained in C++ seems to be Robert Lafore's 
_Object Oriented Programming in Turbo C++_.  A little further along and I 
might invest in version 4.5 of the compiler.
    I added the int main(void) to your altered code for the Calc class and 
compiled it for a workable program.  I hope this is helping other novices who 
might be lurking here also.
                            Sincerely,
                                            Frank
--- FMail/386 1.02
---------------
* Origin: Maybe in 5,000 years frankmas@juno.com (1:396/45.12)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.