Subject:
|
Re: 4 wheel power robot
|
Newsgroups:
|
lugnet.org.ca.rtltoronto
|
Date:
|
Tue, 14 Nov 2000 19:01:04 GMT
|
Viewed:
|
859 times
|
| |
| |
Chris Magno wrote:
>
> > > if(chrisMagno = stubbornAboutNQC)
> >
> > OMG!!!!! I always thought it was Mango, like the fruit. :)
> >
> >
>
> wow, your both wrong.
>
> i missed the miss spelling of my name.... but JEff, i did catch the
> missing double + sign.
>
> so it should be.
>
> if(chrisMagno == stubbornAboutNQC)
<SIGH> The single = sign was my *point*; it's supposed to be
*funny*: in C you can assign inside a test, it's called
"The Last C Bug"[1], and it means that chisMagno will always
be stubborn. I actually missed his Iain's mangling of your
name, I just happen to know how to spell it. </SIGH>
Jeff
[1] - It's called that, given the following code example
(which assumes you know about The Cold War, and that you
know what 'DEFCON' means:
// NORAD Defense System Code For Armageddon:
function void [2] launch_decision(int defcon) {
if(defcon = 1) {
launch_all_nukes();
} else {
maintain_peace();
}
}
[2] - I've seen it written returning an int, but then
I thought - what's the point in returning an int from
a function with *those* kind of side-effects?
|
|
Message has 1 Reply: | | Re: 4 wheel power robot
|
| With much patients and too much time Jeff explains: (...) ummm, Ya..... right.. and this is supposed to convince me that NQC is better. now this was the good ol' days. (Iain cover your eyes) 10 ? clr 20 ? tab(20) "ya right"; 25 ? " hit any key" 30 (...) (24 years ago, 14-Nov-00, to lugnet.org.ca.rtltoronto)
|
Message is in Reply To:
| | Re: 4 wheel power robot
|
| (...) wow, your both wrong. i missed the miss spelling of my name.... but JEff, i did catch the missing double + sign. so it should be. if(chrisMagno == stubbornAboutNQC) OK, so can we move on now. and leave those poor ducks alone BTW has anyone (...) (24 years ago, 13-Nov-00, to lugnet.org.ca.rtltoronto)
|
16 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|