| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Objects |
dn>> It's a large topic. sp> I am aware of that... I was refering more to the sp> basics of creating and useing an object, as BC++ sp> implements it. Perhaps "as C++ sees it". In this case, the fact that you're using a Borland compiler has little to do with the language. C++ is not Pascal, you know. :-) sp> I am familiar with the theory of objects in general. sp> I have read a number of books going into object sp> orientated design. I try to implement such practices sp> in my BP programs when appropriate (although Borland's sp> implementation of objects isn't terribly efficient...). Then I'd suggest reading Borland's documentation. Echomail is not a substitute for reading a book; never has been, never will be. If you have *specific* problems in understanding such a book, then by all means, ask, but you cannot expect to learn anything primarily from echomail. sp> I was aware that the term "package" was used, and now sp> I know where... Thank you for that... Now, if you sp> know the answer to this relatively simple question, sp> could you give it? (if not, than just say so) Don't be facetious, Steven, it isn't helping your case any. Your question is not "relatively simple". I could answer it, but I'm not about to write a book here to do so. If you want to be specific, then, that's a different matter. sp> When creating an object (class) in BC++, how do you sp> specify the constructors, destructors, inline sp> functions, and stuff like that. ... all covered in your compiler's manual, not to mention any C++ text you can get cheaply from a local bookstore. There are chapters of information on this and related stuff, and you're saying that it is a "relatively simple question"? Ahem. Reality check time. sp> When using an object, sp> how do you reference the methods and variables, when sp> when do you use a given method? Exactly how do you sp> create and destroy an instance (the new and delete sp> commands I presume... how do you control which sp> constructor/destructor is being used?) That is what I sp> meant to ask for. Yes, indeed, "realtively simple". Not. :-) What possible words of wisdom do you expect to read in 2.5k that you won't find in your compiler's language reference? Your questions are way too general for echomail to have any hope of doing any justice. sp> No... What I actually want to do is be able to read a sp> C++ source file, and put it back together a little sp> differently... Not much, but sufficient that being sp> able to seperate out the individual tokens would be sp> quite handy. Only for reformatting then? Try GNU indent. --- 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™.