delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/01/23:13:48

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
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
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/     \  ~/ 
*******************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019