I saw a saying earlier: "The Visual Studio 2010 interface is developed using WPF."
Later I saw that "C language compilers are usually developed using C language or C ++ language"
It seems a little confused about "self-generated" and "chicken eggs and eggs.
WPF itself is a development project template provided in Visual Studio. How can I use it to develop the Visual Studio interface? Is it the existing Visual Studio or the first WPF?
C language compiler is used to compile the C language. If the C language compiler is also developed by C, is there a C first or a C compiler first? Where does C compiler come from without C? How can I compile C without a C compiler? Good people!
After thinking carefully, I managed to solve the problem and finally thought of a solution that satisfied me. In fact, the correct understanding of the phrase "C language compiler is developed in C Language" should be like this process:
1. UseAssembly LanguageCompile a C language compilerI .exe(That is, the early C compiler );
2. NowI .exeThen you can useI .exeTo compile C code and get a programII.exe
3.II.exeThe function can be to read the text (that is, the C language source code) and generate the corresponding assembly code based on the text.
4. HereII.exeIt is actually a C language compiler developed in C language.