From: "Daniel Urquhart" Newsgroups: comp.os.msdos.djgpp Subject: Re: C command line options Date: Thu, 4 Jun 1998 18:03:50 -0700 Organization: BCTEL Advanced Communications Lines: 19 Message-ID: <6l7iaq$l8t$4@news.bctel.net> References: NNTP-Posting-Host: tral01m01-8.bctel.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk [CUT] >I don't know C++ very well but >string comparison could be made with == operator if you declare the >arguments of the == operator as string class objects (I really don't know >how you can declare them, but for a C++ programmers should be very >simple). >I think that your code is not comparing the 'strings' at all but something >else I can't tell what. > >Hope to be right. You are (allmost but) not right. If you did use a string objects, they coulde be compared with th == operator. BUT I have yet to see manny people using clases for stings and it is DEFINETLY NOT standard !