Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How do I take [projects from Dev-Cpp to Visual C++]

  1. Feb 17, 2014 #1
    How Do I take projects created in Dev-Cpp and transfer it into Visual C++. I mean they are both C++ projects correct? I tried to open these projects in Visual C++, but they just don't wanna open...erm I mean I can't open them. Help?
  2. jcsd
  3. Feb 17, 2014 #2


    User Avatar
    Science Advisor
    Homework Helper

    Create a new project in Visual C++ and add all the source code, data files, etc to it.

    If you used some libraries that were specific to Dev-Cpp, you may have to modify some of your code. You might need to modify the main() or WinMain() function as well (but when you create the project VC++ will generate a main function that works with VCC+, so just cut-and-paste your code into that).

    The format of the "project file" will be specific to each different IDE.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook