• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

compatibility between visual studio.NET and older versions of C++

zayened

Diamond Member
my programming class still uses c++ 5.0 pro. are there any compatibility issues between the .cpp format from .NET and older versions? (i.e., would i be able to open a file i created with .NET using an older version of c++?)
 
cpp files are just text file so you'll be able to open and edit them fine, the problem will be compiling them. Older versions of MS's C++ compilers had a lot of little things MS put in special because C++ wasn't a real standard at the time so porting code around might not be easy. I would suggest using what your class uses, especially since you have to use MS products.
 
For the typical programming class, you would be pretty unlikely to run into any C++ compatibility issues with VCPP 5 or VCPP.Net.

Now if you're heavily into the STL, then you might have some problems. It's possible to purchase an improved standard C++ Library for VCPP, but for a student, it's not worth the cost. At least in the past, Microsoft sublicensed its C++ library from an outside firm.

If it's just console programming assignments, I'd go w/ GCC though. However, sticking with whatever compiler/platform the code is graded on is always a good idea (unless its something like Java code, which is significantly more portable).
 
Back
Top