Re: Small question about strings.



Kaixo!

On Tue, Jan 01, 2002 at 02:03:17PM +0300, Syomin Pavel wrote:
 
> > Use instead, depending on what you actually want:
> > * "size in memory"
> > * "number of characters"
> > * "number of column positions"
> 
> OK, I want to save string to file and I must know its size. What function I must use?

strlen() seems the good choice (as what will be saved will by an array of
bytes)

-- 
Ki ça vos våye bén,
Pablo Saratxaga

http://www.srtxg.easynet.be/		PGP Key available, key ID: 0x8F0E4975




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]