Mail Archives: djgpp/1998/09/05/01:31:32
On 5 Sep 1998 02:12:56 GMT, oohoseoo AT aol DOT com (OoHOSEoO) wrote:
>>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)
OK, OK, so it's late and I bashed it in here instead of pasting from
the prog, but that's not the problem!
Richard Wynne
- Raw text -