---------------------------------------------------------------------------- Use the API ' strcmp()' ----------------------------------------------------------------------------- <html><DIV> <P><FONT face="Lucida Handwriting, Cursive" color=#ff9900 size=2>Karmennavava Dhikaraste, Maaphaleshu Kadaachanah</FONT></P></DIV></html>
----Original Message Follows---- From: "pankajgarg88" <[EMAIL PROTECTED]> Reply-To: [email protected] To: [email protected] Subject: [c-prog] 10 names in array Date: Fri, 17 Nov 2006 13:15:53 -0000 --- In [email protected], mahdi heydari <[EMAIL PROTECTED]> wrote: >try this > Hi. > yes. > I mean in a problem at run time > I must get 10 NAME(unmost 25 character) and keep in a array. > > i tried this code: > { > char A[10][25],B[10][25]; > for (i=0; i<10; i++) { > scanf("%s",a[i]); > scanf("%s",b); > }} > > if its right then > How can i compaire a NAME(string) in array A with array B. > > Send instant messages to your online friends http://uk.messenger.yahoo.com > _________________________________________________________________ Headache during sex? Ask Dr. Prakash & Rachna http://content.msn.co.in/Lifestyle/AskExpert/Default03.htm
