TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Nhan Tran
from: david nugent
date: 1994-05-05 08:20:36
subject: QC25 problem

> To increment the value pointed to by myint, (*myint)++ or
 > *++myint would do.

No, it wouldn't.  This doesn't change the precedence and therefore the
order of evaluation - you're simply using a prefix increment instead of a
postfix.

 > My practice is when in doubt, use brackets.

This does change the order of evaluation and is guaranteed to work.


  cheers,
  david

PS: Nice to see you're still about at any rate, Nhan. :-)

---




SDޝ|Ö(
* Origin: Unique Computing Pty Ltd (3:632/348)
SEEN-BY: 50/99 54/54 620/243 623/625 630 632/103 301 348 365 386 998 633/371
SEEN-BY: 634/384 635/210 502 503 541 544 636/100 670/206 711/409 430 807 808
SEEN-BY: 711/809 932 934 712/623 713/888 714/906 800/1
@PATH: 632/348 635/503 50/99 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.