Thread: I want to understand this code

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    sys is a two-dimensional array. sys[g][nun] holds some value which is assigned to rt in line 5.

    continue will break-out of the for-loop. That one should have been easy to look-up in any begining C++ book. Or, online... cppreference.com is a good place to look-up keywords and standard library functions.

    Your book should have -= too. Or, at least +=.
    x -=2 is the same as x = x - 2.

    You might need to study arrays and pointers too. (And, pointers to arrays.)
    Last edited by DougDbug; 12-15-2003 at 06:47 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended ASCII Characters in an RTF Control
    By JustMax in forum C Programming
    Replies: 18
    Last Post: 04-03-2009, 08:20 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM