Announcement

Collapse
No announcement yet.

Converting a C++ statement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Converting a C++ statement

    Can some kind person help me with converting this statement ...

    a+ = b*c

    is it :

    a = a + b*c ?

    It seems most code out there is in C and i dont know the ground
    rules for C

    ------------------
    Kind Regards
    Mike

  • #2
    I suspect you mean: a += b*c;
    ...which does mean: a = a + (b * c)


    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Comment

    Working...
    X