Thread: c++

  1. #1
    Registered User
    Join Date
    May 2007

    Unhappy c++

    hello i have to make an XO game with c++ with the simplest loops such as FOR WHILE and Switch can any one help me in writing those steps?
    for example writing an statement that tells the computer to replase one of the houses in the table with the user's entry

  2. #2
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Rishon LeZion, Israel
    while(read user entry succeded)
       switch(user entry read)
       /* do some actions */
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    David J. Wheeler

Popular pages Recent additions subscribe to a feed