| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pointers |
Hello Jasen!
04 Sep 03 07:01, you wrote to me:
JB> char *ptr = test();
JB> if( !ptr )
JB> seems shorter to me
Indeed, but how is it in C, with integers, i've defined TRUE as 1 and FALSE as 0, is
if(function(parm) == TRUE)
nessersary or could I use if(function(parm)) ?
Regards,
Bo
--- Squish/Linux v1.12.002 BETA
* Origin: The Night Express, Roennede Dk (2:236/100)SEEN-BY: 633/267 270 @PATH: 236/100 237/9 20/11 106/1 2000 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™.