I seem to be having a bizzare issue. I created a hangman game just to push myself and to learn more. I did this with Visual C++ 2008 Express Edition. The produced *.exe file runs fine on the system on which I created it however when I put that same file on any other system it will not run. It claims to have some kind of configuration error. I then took the same code and used Dev-C++ to create an executable file. I was able to use that executable on other systems with no problems. Why am I having this problem?? The particular error that I am getting is this "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
And while on the subject of VC++ 2008 Express Edition, what are its limitations? Also, what are the limitations of Dev-C++? If this is off topic please let me know and I will try to research this further on my own but if you guys happen to just know that would be great.
After I posted this I did a bit more research and found what you said to be true. I need the run time files... which is disappointing. If I can use Dev-C++ 4.9.9.2 and not need to worry about (in comparison to the M$ product) then that seems like a better avenue.
As for limitations... both products are free. A few years ago when I took a C++ course the IDE/Compiler I used was free but stated that it was not meant for production use. I believe there was even somthing built in for limiting its use (program size or something). I am certainly far from going Pro as I havn't touched C++ since I took that college course a few years back but I am hoping to make some more advance programs once I get better with the language and I am just wondering if I might run into issues.
Yeah, but VC++ generates a hello world of less than 10 K, while MinGW's -- Dev-C++'s compiler -- Generates a 200+ K executable.
Also, Dev-C++'s MinGW is already outdated. Unsurprisingly, since the last release was in 2005.
In that case, Dev-C++ has of course no limitations, what with being open source and all.
VC++ Express has a few. I don't think you'll find any of them any time soon.
I haven't seen much of Express, but from what I can tell, it lacks a few advanced tools, like code analysis (profiler, etc.) and a few other unimportant things (for a newbie).
That's not portability. That's... distributability.
No. Neither compiler can cross-compile. For that... I guess you'd need to get yourself a copy of gcc and compile it either with MinGW or Cygwin. Cygwin might be better for that task.