TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: steven pasztor
from: david nugent
date: 1996-05-01 04:11:36
subject: Objects

sp> Hey mate!  Yeah you!  I'm talking to you!

Sigh.

 sp> I've read the Borland C++ language guide, but it's a
 sp> terrible thing to read... Anyone got a simple way of
 sp> explaining the usage of objects in BC++?

Do you want a summary of all the known and unknown laws in the universe
while I'm at it? :-)

It's a large topic. Get and read some good documentation (not necessarily
C++ specific) on object oriented programming and design. Classes are merely
the vehicle used in C++ - you should first look at and understand the
theory, and then the method itself makes a lot more sense. Any OOP language
has a similar construct, whether it be called an "object" (as in
Borland Pascal), a "package" (in ADA) or whatever.

 sp> Is the implementation consistant with other C[++] compilers?

Yes, although it depends on which version of the compiler you're referring
to. C++ as a language is a moving target, and has been for some years. The
proposed standard is in final draft by the ANSI committee, and the most
recent Borland compilers follow it fairly closely. Borland 3.1 - the last
"DOS based" version of the compiler (or, at least, the IDE) is
about equivalent to "cfront version 3.0" standard, but lacks
exceptions. Later developments which it also lacks are namespaces, some
ambiguities solved with various aspects of the language and any of the
standard library classes.

None of these later developments would be a severe obstacle in learning C++
with that compiler, however. Sure, you'll come across some areas of
disagreement here and there between its behaviour and the standard, but
these are generally obscure and not something you'd likely hit right off
the bat.


 sp> And for a rather BIG question:  Anyone got source code
 sp> that will tear out the individual elements of a piece
 sp> of BC++ source code? ie. turn the statements:

 sp>  #include 
 sp>  void main() {
 sp>    int Num=42;
 sp>    cout << "Greetings" << Num << endl;
 sp>  }

 sp>  into a series of "things" something like:

 sp>  # include  void main ( ) { int num = 42
 sp> ; cout << "Greetings" << Num << endl ; }

G'z, yuck. Why would you want to do that?  :-)

Are you looking for an obfuscator? They do exist for C, but I'm not sure
about C++ - I've never seen one, at any rate, which is not to say they
don't exist.

--- MaltEd/2 1.0.b6
* Origin: Unique Computing Pty Limited (3:632/348)
SEEN-BY: 50/99 78/0 620/243 623/630 632/103 348 360 998 633/371 634/388 396
SEEN-BY: 635/301 502 503 506 544 639/252 711/401 409 410 413 430 808 809 932
SEEN-BY: 711/934 712/515 713/888 714/906 800/1 7877/2809
@PATH: 632/348 635/503 50/99 711/808 809 934

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