CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Posts
    15

    Problem with compiling C++ program in MS Visual C++ 6.0

    I am learning C++. I have MS Visual C++ 6.0 installed in my MS Windows XP desktop computer. When I try to compile, it says "Compiling......" but, never ends. Similarly, when I click to build after successful compilation (without any error and warning), it says "Linking...." but never ends. How long I wait, it's the same.
    When I try to close the program, it says I can't close now, coz. it's still compiling. I have to close forcefully from the Windows Task Manager.
    When I compile the same program next time after restarting the program, it works fine. It happens several times.
    Is there anything, I missed to install or configure?
    Pls. let me know.

  2. #2
    Join Date
    Mar 2010
    Location
    Melbourne Australia
    Posts
    454

    Re: Problem with compiling C++ program in MS Visual C++ 6.0

    there must be something wrong with VS install , grab a fresh copy of vs 2010 Express edition , and try again , grab the errors you are getting and post them here

  3. #3
    Join Date
    Aug 2008
    Posts
    902

    Re: Problem with compiling C++ program in MS Visual C++ 6.0

    Quote Originally Posted by ritika_sharma82 View Post
    I have MS Visual C++ 6.0 installed in my MS Windows XP desktop computer.
    I think VS 6.0 came out before C++ was even standardized. Why did you choose that compiler/IDE when you can get the latest version for free?

  4. #4
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Problem with compiling C++ program in MS Visual C++ 6.0

    Quote Originally Posted by ritika_sharma82 View Post
    I am learning C++. I have MS Visual C++ 6.0 installed
    If you're learning C++, then you better get a newer compiler. VC++ 6.0 is not for learning -- it is usually used to keep legacy apps around, but it should not be used to learn C++ with.

    It is not an ANSI standard compiler since it came out before 1998. Therefore it contains "language bugs" that would lead you astray into thinking that invalid C++ code is OK, and valid ANSI C++ code is no good.

    Regards,

    Paul McKenzie

Tags for this Thread

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured