Vc6 or vc7 makes the change no longer confused

Source: Internet
Author: User

After the holiday, I went to csdn and found VC for the first time. net version, because I have never been aiming for it. net community (not arrogant, do not understand), in the above see a question for VC. net's various concerns, suddenly remembered that some people on the school's BBS also asked similar questions, And suddenly wanted to say a few words. As a result, I started a very crazy topic. I hope to help the later.

One of the old man's questions is about vc6 to.. Net transfer concerns, which I previously had. For example, I do not want to learn. net, then VC. can I use my c ++ program? If you want to learn VC. net, do you have to learn. Net? Many people have lost confidence in the transformation in the face of the huge. net, still using vc6, still suffering from the use of STL hundreds of warning, vc6 to vc7, is it really so difficult?

You may see that I didn't use VC as most people do. net, but vc7 is used. Although Ms is called like this, because I think this is ambiguous, maybe I should clarify several concepts first:

. Net is a framework provided by Microsoft. I dare not say much about the features of this framework. Net experts can tell me.
Vs. net is Visual Studio.. NET is an IDE provided by Ms. In this IDE, You can edit the source programs and compilation of C ++, C #, basic, and other languages. net seems to be a representation, not necessarily used.. net.
C ++ is a language. You can use BCB, vc6 IDE, and. net Writing, or even using notepad. It doesn't matter because it is only a language and all of the above are tools.
Vc7 is. the C ++ compiler that comes with net (which I call first, not officially mentioned) is an upgraded version of the vc6 compiler-of course it can be compiled. net-managed code C ++ source program, that is another thing-supports C ++ standard and has the powerful ancient windows framework MFC provided by Ms.
VC. net is used.. NET Framework C ++ is a variant of C ++, which is an extension of C ++ by Ms. # using ,__ GC, __property and other new keywords, so that C ++ can use... NET Framework.
Another is what we call vc6. Is vc6 an IDE? Yes. Vc6 is a compiler, isn't it? Yes. Vc6 is a C ++ version with the MFC class library, isn't it? You can also think so.

So you understand why I use vc7 instead of VC. Net?

In this way, we can understand the transformation from vc6 to vc7 in several layers, which are progressive:

IDE and C ++ language (or compiler:This transformation should be said to be the transformation from vc6 to vs. net. It should not be difficult to adapt to the new IDE and some minor compilation differences.
On the MFC Layer: There are no major obstacles to this change. Due to the downward compatibility of MFC, the obstacles at this layer are only minor changes caused by minor differences in the compiler at the previous layer and adaptation to the Integration Methods of MFC and IDE, such as the disappearance of classwizard, which are still easy to solve.
Platform layer:This transformation is everyone's biggest concern, because only one framework can be used in vc6, that is, MFC (or you think ATL is also a framework), or you need to use SDK to call the API bare, in fact, they are still Win32 platforms, but in. in the. NET development environment, you can use sdks and MFC. The most important thing is that you can use a new platform.. NET Framework. If you decide to change from Win32 to. NET Framework, This will undoubtedly be a huge project, and this may be the reason why everyone is discouraged.

So What level are you worried about?

According to the situation I have seen on csdn and BBS, many people do not know the difference between the three-layer transformation. Therefore, they want to make the first two levels of transformation, but they are intimidated by the third layer. net color change, right..

In fact, this is no wonder that they have never used vs. Net to understand the difference between it and vc6ide. So it is better to use my energy to pick it up today, so that no one will suffer.

To put it so much, it means not to include a name. net is.. net, using Visual Studio. net can write the driver, as you can write the C ++ program under vc6, using the STL Library (and.. Net supports STL better.) You can use your MFC and write what you want to write ...... Everything only requires one premise, as long as you don't need # using, as long as you don't need vc7 extensions like _ GC, __property. net keyword, then the program and. net does not have any relationship.. net.

Since we are concerned about switching to vs. net using vc6 on the. NET Framework, what are the concerns if we look at vc7 and. Net frameworks independently? This shift should have been as natural as vc5's move to vc6. It's all against Microsoft. It's a big promotion of. net, leading to. Net abuse. This is everywhere, so everyone is at a loss ......

What's more,. net has a stronger and better ide than vc6. Try. net. net Class View, bold install. net, only visual C ++, M hard disk is left during installation, and then move the mouse, you can build its interface and the interface you are familiar with, and then run a cup of tea, enjoy the new IDE and enjoy the new compiler!

// When I wrote so many words on my blog for the first time in the next scholar, I did not dare to think that I was a prawns, but I really don't want to be confused.
// In fact, I have not used vs. Net for a long time. If there is an error, please point it out and forgive me.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.