delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/27/23:51:58

From: "Yannick Benoit" <yannick DOT benoit AT dr DOT cgocable DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <uEUD4.9107$K9 DOT 78507 AT typhoon DOT nyroc DOT rr DOT com>
Subject: Re: strings
Lines: 14
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <X2WD4.39887$jb7.789074@carnaval.risq.qc.ca>
Date: Tue, 28 Mar 2000 03:55:35 GMT
NNTP-Posting-Host: 205.237.47.27
X-Complaints-To: abuse AT cgocable DOT ca
X-Trace: carnaval.risq.qc.ca 954215735 205.237.47.27 (Mon, 27 Mar 2000 22:55:35 EST)
NNTP-Posting-Date: Mon, 27 Mar 2000 22:55:35 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

try with

if(strcmp(string1,string2)==0){
  etc..
}


John wrote in message ...
>how would I check if too strings are equal? if (string1==string2) doesn't
>work. Thanks
>
>


- Raw text -


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