Just Started Learning C++
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Just Started Learning C++

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    4

    Just Started Learning C++

    And I can't figure out why this doesn't do anything once I 'BUILD' it. I even added the PAUSE in there and still nothing even poops up. What's wrong with the code or?

    http://i.imgur.com/lHN3JBV.png

    Thanks!

  2. #2
    Join Date
    Feb 2013
    Posts
    4

    Re: Just Started Learning C++

    Nevermind. Just found out why.

    Would anyone be interested in helping me when I have a C++ question here and there on MSN, Steam, etc? If so please reply to this thread.

    Thanks!

  3. #3
    Join Date
    Feb 2013
    Posts
    4

    Re: Just Started Learning C++

    Also, since I got it working. CMD pops up and says "Hello World!Press any key to continue.."

    What do I need to add to my code to get the"Press Any Key To Continue" to drop down a line or even 2? And where should I add it?

  4. #4
    Join Date
    Jun 2007
    Posts
    29

    Re: Just Started Learning C++

    \n puts a return in a string. So "Hello World!\n" or \n\n for two returns.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center