| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: the new command |
CU> Can someone please explain the difference of the following :
CU>
CU> CStringArray strMyArray;
CU>
CU> OR
CU>
CU> CStringArray *pstrMyArray = new CStringArray;
You must delete pstrMyArray when you are done. strMyArray will
destruct once it is out of scope.
You must call member using pstr->method or *pstr.method for the second.
You call using str.method for the first case.
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350) |
|
| SOURCE: echomail via exec-pc | |
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™.