View Single Post
  #11  
Old 01-30-2005, 05:08
mihaliczaj
 
Posts: n/a
Quote:
Originally Posted by joejoejoe
Can anyone please explain some of the changes from VS 6 to VS NET 2003 besides the GUI like Compiler specific things?
...
A lot of my code that worked before now no longer works with .NET 2003.
I had no trouble converting VS6 projects/workspaces to VS.NET2003 solutions except for the C++ language compliance issues.
VC++6 has terrible language support, but VC++.NET2003 is the most standard compliant C++ compiler I know.
Some issues:
* for scope
Valid VS6 but invalid VS.NET2003:
Code:
for (int i = ...) {}
if (i == ... ) // supposed i is not declared before for
* template handling
it basically differs
* VS6 allows temporary objects to be passed by non-const reference:
Code:
class C { C(int); };
void f(C&);
f(5); // invalid call, but no error msg in VS6
Would you quote some error messages or some more details on what the exact problem is?
Reply With Quote