Mail Archives: djgpp/2000/05/18/09:36:54
Do I need to declare a variable of "size_t" type, if I want to know length
of the string using strlen()???
If so, how do I mix int and size_t then? Or I need to use size_t only, if I
have problems with type casting???
Btw, yes, I've read his (Hans-Bernhard Broeker's) post.
--
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror: http://members.xoom.com/alexfru
Dieter Buerssner wrote:
>
> Alexei A. Frounze wrote:
>
> >Really? How about type casting? It doesn't work at all for int<->size_t?
>
> No, it doesn't. It will work for size_t's <= INT_MAX only.
>
> >If it's a standard type, what is it needed for then? Isn't int enough?
>
> Alexei, sometimes I have the feeling, that you post your questions
> at a higher rate, than you can read the anwers. Have you read
> Hans-Bernhard Broeker's post? He gave an explaination.
- Raw text -