RE: [Dev-C++] I am new to C ++ and need some help
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ya...> - 2000-12-10 23:18:25
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Vesa Norilo > Sent: Monday, December 11, 2000 12:35 AM > To: dev...@li... > Subject: Re: [Dev-C++] I am new to C ++ and need some help > > > Hi, > > In C you can't compare strings with: > > name == "blahblah" since the value of a string is the memory location > where it is. > > The correct method is to use the standard C function strcmpi (string > compare, case insensitive) strcmp() which is declared in string.h __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com |