Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ 6.0 code in C++ .net

Status
Not open for further replies.

iceman2654

Programmer
Jul 9, 2003
53
CA
Is it possible to write code using C++ 6.0 code in C++ .net? For example if I learn C++ 6.0 from a book could I use that same knowledge and syntax in C++ .net?
 
Both MSVC++ 6.0 and .NET are compilers. For the most part, things that compile on one will compile on the other. Since .NET has a newer and more standard compiler, you may have a few small differences in how your programs are built. For the most part, though, it is not something to worry about. Remember, it is still just C++ code, Visual Studio is just a development environment.

However, .NET has extra features, like managed C++, C#, etc, that are not part of Visual Studio 6.0. If you use those features you wouldn't be able to go backwards from .NET to 6.0. But since you will be using 6.0, I don't think it would be a problem.
 
There should be no syntax differences. The only things you may come across as different in the books is how to get something done in the editor itself. A good example of this would be the class wizard -- VS .net is a little different as far as that goes. But everything else in C++ is should be about the same.

-Bones
 
lol thanks for the two posts guys. Things are now clear :D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top