From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc Date: Thu, 18 May 2000 16:39:57 +0400 Organization: MTU-Intel ISP Lines: 28 Message-ID: <3923E49D.870F5E34@mtu-net.ru> References: <3923BA11 DOT AD387617 AT mtu-net DOT ru> <8g0to9 DOT 3vs4qnf DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> NNTP-Posting-Host: ppp108-238.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 958653598 64903 212.188.108.238 (18 May 2000 12:39:58 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 18 May 2000 12:39:58 GMT X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: ru,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.