| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Auto string-length determinatio |
Hello Paul, In a message dated 29 Oct 96 you wrote to me : PE> I think it's better, where possible, to do a: PE> strncpy(s, dfdfdfdfdfdfd, sizeof s); PE> so that if you need to make s of size APPLE_SIZE instead of STRING_SIZE, PE> you don't need to change your code. BFN. Paul. Out of interest, do you know if "sizeof s" is evaluated at compile-time or at run-time? I guess it wouldn't make much difference speed-wise. Josh Marshall FidoNet 3:640/201.14 Member TEAM AMIGA AmigaNet 41:400/869.14 ... Show respect for age. Drink good scotch for a change. --- Mail Manager 1.2x/p #1219* Origin: It's rude to Point (3:640/201.14{at}fidonet) SEEN-BY: 633/267 270 @PATH: 640/201 201 820 711/409 808 50/99 635/728 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™.