|
-
February 10th, 2011, 12:34 AM
#1
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.
-
February 10th, 2011, 01:31 AM
#2
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
-
February 10th, 2011, 09:33 AM
#3
Re: Problem with compiling C++ program in MS Visual C++ 6.0
 Originally Posted by ritika_sharma82
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?
-
February 10th, 2011, 05:51 PM
#4
Re: Problem with compiling C++ program in MS Visual C++ 6.0
 Originally Posted by ritika_sharma82
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|