TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Rowan_Crowe
from: Paul Edwards
date: 1996-10-04 00:41:30
subject: Auto string-length determination

R> I could be wrong, but sizeof(String) returns the number of chars. Are you 
R> wanting the number of chars (elements), or number of bytes (an obscene word 
R> in portable C)?

What did you have in mind for getting the number of bytes in:

char str[100];

???  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™.