Thread: Word meaning

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2012
    Posts
    14

    Word meaning

    What does this line translate into english. Its part of a do while loop.Ok let me rephrase the question how to write the stuff after while in such a way that the do loop keeps repeating if
    r1=0 and r2=0
    or
    r1=0 and r2=1
    or
    r1=1 and r2=0
    or
    (*hero)[r1][r2].gold=='G'
    Code:
    }while((r1==0 && r2==0)||(r1==0 && r2==1)||(r1==1 && r2==0)||((*hero)[r1][r2].gold=='G'));
    Last edited by Burns111; 11-28-2012 at 04:46 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 13
    Last Post: 09-20-2012, 11:48 AM
  2. Replies: 28
    Last Post: 10-23-2011, 07:17 PM
  3. reading text-and-numbers file word by word
    By bored_guy in forum C Programming
    Replies: 22
    Last Post: 10-26-2009, 10:59 PM
  4. Dirty Word (Microsoft Word that is, you sicko!)
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 07-02-2005, 07:27 AM
  5. open file, search of word, replace word with another
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 06-05-2002, 01:16 PM