From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: String comparing problem Date: Tue, 01 Apr 1997 19:03:38 -0500 Organization: Cornell University http://www.cornell.edu Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <3341A259.232D@cornell.edu> References: <33417135 DOT 1856 AT geocities DOT com> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0053.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Deltaman wrote: > you can read the charter of this newsgroup at: http://www.delorie.com/djgpp/mailing-lists/comp.os.msdos.djgpp.html i would strongly recommend reading about the language itself before starting to program in any language. the following has nothing to do with C whatever: if (test_string == "#197; ") printf("I should see this"); if (test_string == "#197;") printf("or this"); at least read about the str functions (in the info docs.) -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ *******************************************************************