delorie.com/archives/browse.cgi | search |
From: | oohoseoo AT aol DOT com (OoHOSEoO) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: gcc 2.7.2.1: Won't compile | or || symbols (really!) |
Lines: | 14 |
Message-ID: | <1998090502125600.WAA02449@ladder03.news.aol.com> |
NNTP-Posting-Host: | ladder03.news.aol.com |
Date: | 5 Sep 1998 02:12:56 GMT |
Organization: | AOL http://www.aol.com |
References: | <35f08a2b DOT 895968 AT news DOT demon DOT co DOT uk> |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
>For example, this won't compile: > >int main (int argc, char * argv[]) { > if((argc == 1) || (argc == 2)) { > return 1; > } else { > return o; > } >} I have no idea what kind of problem you are having with ||, but I can bet you'll get an error returning 'o' instead of 0 James B. (OoHOSEoO AT aol DOT com)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |