TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: All
from: Paul Ranson
date: 2004-11-04 20:13:16
subject: Re: C++

From: "Paul Ranson" 

Classes and pointers are 'C++', although pointers are somewhat deprecated
and if they surface in your program other than in interfaces to an external
API, it's possibly a sign that it could be better designed. Console apps
are natural C++, the library supports IO to a terminal type device in the
Unix 'file' idiom. IOW if you can write formated lines to a console you can
also do so to a file. GUI apps are completely the domain of third party
libraries, MFC, ATL, Windows Forms, Gnome, KDE, WxSomething or other etc.

Some of the complication is due to the way C++ grew from C. C has structs,
aggregations of data. C++ adds methods to structs and renames them classes.
Then you add inheritance and polymorphism and bingo, OO. Much more
interesting is generic programming, I guess templates are slightly further
down the course? Serious ongoing research with these. But when the products
are libraries you can exploit them without understanding the inner
ugliness.

Paul

"Geo"  wrote in message
news:418a0a99$1{at}w3.nls.net...
> Question for all you C++ types
>
> How long did it take you to learn the language? The more I learn about
> this
> language the more I realize I don't know.
>
> Last week we started learning to code some simple GUI apps, this week we
> jump back to console apps and they introduced us to "classes" and then
> next
> week we learn pointers. That seems like a lot of stuff to cover in just 3
> classes.
>
> Geo.
>
>

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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™.