| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Auto string-length determination |
ac> size_t Max_Length = sizeof(String) - 1; ac> (In other words, the size of the entire array minus one byte for the ac> null terminator.) R> But will this still work if the array is not in scope? What if it's passed R> to a function as a pointer? No, it won't. Not unless you use that syntax I posted recently. BFN. Paul. @EOT: ---* Origin: X (3:711/934.9) |
|
| 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™.