From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <2tneisgk5q4e5co7ev9avakhubol188ban@4ax.com> References: <3923FEC5 DOT B836D26B AT mtu-net DOT ru> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 20 X-Trace: /Kkf2OzXxm4o62dRV2bS8UV0io2oj14g9YXUtwroc5FJoAwwHlN2N6t2X1gGc9oJWDABKjELBoFz!hogOjUBVyesmZFjpD3s7cjg877faWiwuhnqFZnx9YTgElgRoCxDX3e7nLwwXNsujy1Ff4RSCuItF!20r/xxM= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 22 May 2000 02:47:01 GMT Distribution: world Date: Mon, 22 May 2000 02:47:01 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 18 May 2000 18:31:33 +0400, "Alexei A. Frounze" wrote: >Eli Zaretskii wrote: >> >> In general, you don't want to assign int to size_t or vice >> versa. Mixing signed and unsigned means trouble. > >If I'm 100% sure my "int" is positive (greater or equal 0 >and less than INT_MAX), will I have problems? You cannot be sure what users will enter into your program. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/