TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: Neil Heller
from: Jasen Betts
date: 2003-01-16 06:22:00
subject: Declaring a pointer to a

Hi Neil.

14-Jan-03 18:47:00, Neil Heller wrote to Darin McBride



 NH> Ok, ok.  I did the following test program and compiles and runs
 NH> correctly.  Since I backed-up from an earlier version of my program I'll
 NH> use this as a template for an update.  In the meantime, can you see any
 NH> way I can clean this up?


 NH> void  ClassA::DoitA()
 NH> {
 NH>    ClassB cb(this);
 NH> }

That creates and destroys "cb"  but I thought you didn't want to do that...

// this isn't used in your example but looks incomplete...
 NH> ClassB::ClassB()
 NH> {
// maybe you should have this:
      abc=NULL
 NH> }

what's this all for?  a subtring class or something like it?




 -=> Bye <=-

---
* Origin: One less than the checksum of "Jasen Betts" (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/1 379/1 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™.