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. The Noob of Noob Questions

The Noob of Noob Questions

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpc++visual-studio
2 Posts 2 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.
  • R Offline
    R Offline
    redfish34
    wrote on last edited by
    #1

    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?

    G 1 Reply Last reply
    0
    • R redfish34

      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?

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #2

      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;

      Fold With Us![^]

      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