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. MFC code to move a train in two directions

MFC code to move a train in two directions

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
10 Posts 8 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.
  • U Offline
    U Offline
    User 12862718
    wrote on last edited by
    #1

    How can I create MFC application code to move a train in two directios

    CPalliniC J D C L 7 Replies Last reply
    0
    • U User 12862718

      How can I create MFC application code to move a train in two directios

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Well code doesn't move trains, they have engines, usually. In other words, if you want better help then should better detail your scenario.

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • U User 12862718

        How can I create MFC application code to move a train in two directios

        J Offline
        J Offline
        jeron1
        wrote on last edited by
        #3

        Just out of curiosity, how did you arrive at the need for MFC?

        "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

        L 1 Reply Last reply
        0
        • J jeron1

          Just out of curiosity, how did you arrive at the need for MFC?

          "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I bet you really know the answer to that. ;)

          J 1 Reply Last reply
          0
          • L Lost User

            I bet you really know the answer to that. ;)

            J Offline
            J Offline
            jeron1
            wrote on last edited by
            #5

            Busted! :-O

            "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

            1 Reply Last reply
            0
            • U User 12862718

              How can I create MFC application code to move a train in two directios

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              Start by creating an MFC application to move a train. Then add code to move it in one direction. After that, add code to move it in two directions. Q: How do you eat an elephant? A: One bite at a time.

              "One man's wage rise is another man's price increase." - Harold Wilson

              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

              "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

              1 Reply Last reply
              0
              • U User 12862718

                How can I create MFC application code to move a train in two directios

                C Offline
                C Offline
                Chris Losinger
                wrote on last edited by
                #7

                it's impossible. the compiler spins horizontally and the MFC Overwatcher spins vertically, and together these will spin the locomotive engine right off the track.

                image processing toolkits | batch image processing

                1 Reply Last reply
                0
                • U User 12862718

                  How can I create MFC application code to move a train in two directios

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Create a (train) vector.

                  1 Reply Last reply
                  0
                  • U User 12862718

                    How can I create MFC application code to move a train in two directios

                    P Offline
                    P Offline
                    Patrice T
                    wrote on last edited by
                    #9

                    The question is so bad that"By using computer, keyboard and mouse" can be an answer. try to refine the question.

                    Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

                    1 Reply Last reply
                    0
                    • U User 12862718

                      How can I create MFC application code to move a train in two directios

                      M Offline
                      M Offline
                      Munchies_Matt
                      wrote on last edited by
                      #10

                      MFC doesn't stand for 'Moves Freight and Carriages' you know.

                      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