The Noob of Noob Questions
-
I am a C# programmer, using VS 2003. I found C++ DLL code on the internet and created a new C++ project to clean up the code to modern standards. When i compile the new project i am getting hundreds of errors. It appears nothing is recognized by the compiler. When i put the cleaned up code in the original project, replacing the original files, eveything works fine. So i concluded that certain project settings needed to be configured. So i go back to my new project and try to make the project settings the same. But when i compile i still get hundreds of errors. What do i need to set up to have compile success? Why does C++ have to be so hard to use?
-
I am a C# programmer, using VS 2003. I found C++ DLL code on the internet and created a new C++ project to clean up the code to modern standards. When i compile the new project i am getting hundreds of errors. It appears nothing is recognized by the compiler. When i put the cleaned up code in the original project, replacing the original files, eveything works fine. So i concluded that certain project settings needed to be configured. So i go back to my new project and try to make the project settings the same. But when i compile i still get hundreds of errors. What do i need to set up to have compile success? Why does C++ have to be so hard to use?
It sounds like the original project may have had less strict warning and errors settings than your new project. What you may want to do is open two instances of Visual Studio, one with the old project and the other with your new one. Compare the settings, side by side.
redfish34 wrote:
Why does C++ have to be so hard to use?
Bjarne Stroustrup, the creator of C++, had something like this to say: "The C programming language made it easy to shoot yourself in the foot. With C++, you blow off the whole leg." C++ is a powerful language. Unfortunately, with that power, can come great difficulty.
Software Zen:
delete this;