Subject:
|
Re: Blue screen of death
|
Newsgroups:
|
lugnet.org.ca.rtltoronto
|
Date:
|
Thu, 14 Feb 2002 20:17:43 GMT
|
Viewed:
|
491 times
|
| |
| |
Trevyn Watson wrote:
> variable++ is probably even better for a simple increment (variable--
> for decrement). Of course, the compiler may recognize this and translate
> "++" and "+=1" as the same.
Well if its a good compiler,
v = v + 1;
v += 1;
v++;
v -= -1;
s = 1; v += s;
would all be equivalent.
Derek
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: Blue screen of death
|
| variable++ is probably even better for a simple increment (variable-- for decrement). Of course, the compiler may recognize this and translate "++" and "+=1" as the same. (...) (23 years ago, 14-Feb-02, to lugnet.org.ca.rtltoronto)
|
11 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
|
|
|
|