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. windows environment

windows environment

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionworkspace
6 Posts 4 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.
  • A Offline
    A Offline
    anassamar
    wrote on last edited by
    #1

    Hi, I use VC++2008, I show The result of my programs in Dos environment. I want to know how I can showing the executed (RESULT) of my program in C++ (Win32ConsoleApplecation) in the windows environment ? Thank you

    thank you soso

    C D B 3 Replies Last reply
    0
    • A anassamar

      Hi, I use VC++2008, I show The result of my programs in Dos environment. I want to know how I can showing the executed (RESULT) of my program in C++ (Win32ConsoleApplecation) in the windows environment ? Thank you

      thank you soso

      C Offline
      C Offline
      Code o mat
      wrote on last edited by
      #2

      Could you explain that a bit more?

      > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <

      1 Reply Last reply
      0
      • A anassamar

        Hi, I use VC++2008, I show The result of my programs in Dos environment. I want to know how I can showing the executed (RESULT) of my program in C++ (Win32ConsoleApplecation) in the windows environment ? Thank you

        thank you soso

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

        Is your program console or GUI (EXE or DLL)?

        "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

        "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

        A 1 Reply Last reply
        0
        • A anassamar

          Hi, I use VC++2008, I show The result of my programs in Dos environment. I want to know how I can showing the executed (RESULT) of my program in C++ (Win32ConsoleApplecation) in the windows environment ? Thank you

          thank you soso

          B Offline
          B Offline
          bulg
          wrote on last edited by
          #4

          "Windows Environment" means a document or a dialog box. You should start a new project and select "MFC AppWizard" for the type of project, name it whatever, tell it "Yes" "continue" "finish" etc. and then compile & run your project. The code that's generated is fairly easy to follow (has comments) so do your processing, then use AfxMessageBox() as a sort of printf(). You'll get the hang of it and be able to do more stuff in about a week.

          1 Reply Last reply
          0
          • D David Crow

            Is your program console or GUI (EXE or DLL)?

            "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

            "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

            A Offline
            A Offline
            anassamar
            wrote on last edited by
            #5

            my program (Win32 console Application )

            thank you soso

            D 1 Reply Last reply
            0
            • A anassamar

              my program (Win32 console Application )

              thank you soso

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

              Then you can use printf(), fprintf(stdout, ...), or cout to show the result(s) of your program.

              "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

              "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

              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