home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!think.com!ames!sgi!fido!paladin!davep
- From: davep@paladin.corp.sgi.com (David Packer)
- Newsgroups: comp.lang.c++
- Subject: Testing a pointer??
- Date: 22 Dec 1992 00:57:50 GMT
- Organization: Silicon Graphics Inc., Mountain View, CA
- Lines: 17
- Message-ID: <1h5p6eINNdva@fido.asd.sgi.com>
- NNTP-Posting-Host: paladin.corp.sgi.com
-
-
- Hey,
-
- If I have a linked-list, called llist...and I want to test it
- to see if it exists. i.e. I only want to create it if needed..
-
- How do I test to see if it exists..
-
- i.e.
-
- if(!llist) { objList = new llist; }
-
- this doesn't seem to work for me??
-
- thanx
-
- Dave
-