Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. game

game

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++game-dev
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yaaqub
    wrote on last edited by
    #1

    Hi; tic tac; 123 456 789 I began c++ two months ago, so my question is . How can I replace the 5 by x and the 9 by 0? 123 4x6 780

    C H M L 4 Replies Last reply
    0
    • Y yaaqub

      Hi; tic tac; 123 456 789 I began c++ two months ago, so my question is . How can I replace the 5 by x and the 9 by 0? 123 4x6 780

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Huh :confused: This is a really clear question indeed. The only 'solution' I can give is something like that: array[1][1] = x; array[2][2] = 0; Now, if this doesn't answer your question, then try to be more explicit (and keep in mind that we cannot see your code, nor your screen, nor what's in your brain)

      1 Reply Last reply
      0
      • Y yaaqub

        Hi; tic tac; 123 456 789 I began c++ two months ago, so my question is . How can I replace the 5 by x and the 9 by 0? 123 4x6 780

        H Offline
        H Offline
        harry
        wrote on last edited by
        #3

        I think your problem is very easy to deal with,you can solove this problem in some ways,one simple way is use an array,just try,good luck! Always do you best,what you plant you will harvest later!

        1 Reply Last reply
        0
        • Y yaaqub

          Hi; tic tac; 123 456 789 I began c++ two months ago, so my question is . How can I replace the 5 by x and the 9 by 0? 123 4x6 780

          M Offline
          M Offline
          Maximilien
          wrote on last edited by
          #4

          well, it depends how your grid is defined, 1D array, 2D array ?


          Maximilien Lincourt Your Head A Splode - Strong Bad

          1 Reply Last reply
          0
          • Y yaaqub

            Hi; tic tac; 123 456 789 I began c++ two months ago, so my question is . How can I replace the 5 by x and the 9 by 0? 123 4x6 780

            L Offline
            L Offline
            lastgen
            wrote on last edited by
            #5

            I don't mean to sound rude, but this is the 3rd time you have posted this question, but you have never explained anything. All your posts(sadly not just in this topic) seem to be the equivalent of "My program doesn't work, why not?" To which others ask "What is your program, how is it written, what are you trying to do?" To which you start a new thread and again post "My program doesn't work, why not?" You will never get a valid answer if nobody knows what the hell you are on about! If you want somebody to post the code to your assignments on the web you have to try a little harder than that.:zzz: When I die I'd like to go peacefully in my sleep like my father, not screaming in terror like his passengers!!!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups