| www.delorie.com/archives/browse.cgi | search |
| From: | "Daniel Urquhart" <NoSpamdurquhart AT jlcrowe DOT org> |
| 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: | <Pine DOT LNX DOT 3 DOT 93 DOT 980527113648 DOT 12693A-100000 AT SysPr03 DOT disat DOT unimi DOT it> |
| NNTP-Posting-Host: | tral01m01-8.bctel.ca |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
[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 !
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |