The incomplete guidance of C ++ resources [

xiaoxiao2021-03-06  54

Written / Zeng Yi Tao Wen finally updated: June 11, 2004

Disclaimer: This article was first in the "9CBS development masters" in May 2004, copyright belongs to the magazine and "programmer" magazine. The magazine is limited to the contents of the section, and this version is a relatively complete version. This article is an introductory article, which will continue to update the C language with the author. Introduction Countless times, I heard "I want to learn C !", Countless times, I heard "C is too complicated, I really don't learn" helplessness. Mr. Stan Lippman has pointed out that "C is one of the most difficult" Senior Programming languages ​​"in the" C Primer "book, and people often go to express their awe of C . It is true that the C programming language is indeed a lot of difficultfront gaps in the learner. The system is huge, and it should be neglected and expanded. In addition, the more than the less interstitation of its learners, desire to be in depth Persevers are suffering. I hope this incomplete guidance can be a lead light on your C learning. The original intention of writing this article is not intended to lead everyone to experience an old C history. If you want to know the history of C and its previous development, you should refer to Bjarne's "The Design and Evolution Of C ". Of course, I don't want to give everyone a balanced book (not want: one is limited by the level, the second helpless C is profound), the only some of us we believe that I want to learn C readers The most important and tentacle development and learning resources. This article introduces and analyzes some compilers, development environments, libraries, and a small amount of books and reference websites, and try to give a guide to use these resources, and hope to benefit to the same beginners like us. In any language other than C , the compiler has never received so much attention. Because C is a quite complex language, the compiler is also difficult to build. Until recently we can only use the compiler of the C standard (Oh, you might blame the compilers that comply with standard compilers as soon as possible, this can only blame their respective one of themselves. Wishing the standard). what? Do you say this? Oh, no, what you need is compiled with standardized C highly compatible. In the long run, only such a compiler is the most meaningful tool for C developers, especially for the learner of the programming language. One to sexual allows the code to be portable and make a language and its library applications more extensive. Well, yes, we only intend to introduce some recognized excellent compilers. Borland C This is a background compiler of Borland C Builder and Borland C Builder X. (Oh, I will be able to understand why, as Delphi7 to Delphi8 transformation is a revolutionary two generations.) Borland C is created by the old development tool manufacturer Borland. The company's compiler is fast, and the space efficiency is highly called, the Borland C series compiler adheres to this tradition, which belongs to a very high quality compiler. Standardization is 8.2.73% of the standardized C in the compiler of standardization.

At present, the latest version is a version 6.0 version in Borland C Builder X. The official is 100% compliant with ANSI / ISO's C standards and C99 standards. Um ... this is the "fully compliant C standard compiler" earlier. Visual C This is the C compiler we are familiar with Visual Studio and Visual Studio.NET 2002, 2003, and 2005 Whidbey. Developed by Microsoft. In Visual Studio 6.0, because there are too many places that have too many places that cannot appear in conjunction with the C standards (thinking about compiles when using STL, those disgusting Error and Warning). VC 6.0 is only 83.43% of the standardized C . However, with the C compiler design master Stanley Lippman and many C community Daren, in Visual Studio.Net 2003, the Visual C compiler has become a very mature and reliable C compiler. Dr.Dobb's Journals show that Visual C 7.1 is as high as 98.22% of standard C , once the best compatible compatibility before CBX. Combining a powerful Visual Studio.NET development environment is a very good choice. As for the Visual C of the Whidbey era, it seems that Microsoft is most concerned about C / CLI ... we don't want to comment on Microsoft's next-generation C compiler how standardization is compatible, but he is really suitable for .NET (in fact you and my feelings It may be the same, Microsoft should not throw the standard C this fat to Borland, but Microsoft may not think so). GNU C famous open source C compiler. It is the first choice for writing C programs under UNIX operating systems. Features is very good portability, you can use it on a very wide platform, and it is also a good choice to write cross-platform, embedded programs. In addition, it has always been very good in accordance with this aspect of the standard, and GCC3.3 is probably 96.15%. However, due to its cross-platform characteristics, it is slightly different from the size of the code size. Based on the GNU C compiler, there are many, such as: l mingw: http://www.mingw.org/gcc's Windows transplanted version (DEV-C background) l cygwin: http://sources.redhat.com Another Windows transplante version of Cygwin / GCC is part of Cygwin, Cygwin is a UNIX simulation environment under Windows. Strictly said that the environment of simulating GNU, this is the meaning of "GNU's Not Unix" to express, hey, this is not the substantive content we care about here. L Djgpp: http://www.delorie.com/djgpp/ This is the DOS transplant version of GCC. l rsxnt: http://www.mathematik.uni-bielefeld.de/~rainer/ This is the GCC's DOS and Windows transplant versions.

Intel C Famous CPU Manufacturers Intel Compiler, Special Design for Intel X86! For the CPU of the Intel X86 structure through special optimization. In some applications, high-performance applications such as numerical calculations, only use Intel's compiler compilation to greatly improve performance. Download free download, Zortech / Symantec C successor, is also one of the protagonists in the fierce C four countries in the year. The development of environmental development environments is self-evident for programmers. It is not easy to choose the environment where you have peaceful, especially in the case of Ide. Here is some of the common C development environments we recommend, and there is no small, rare IDE. Any of these is rich and can be used as daily development. For developers of different levels, see the description of the applicable object. Visual Studio 6.0 This is the old version of Microsoft's old version, but in view of the huge body of its subsequent version of Visual Studio.net, and the beginner is not so high, it is recommended to give C beginners, For its most basic part of C , such as the part of C, of ​​course, don't expect him to support the latest C99 standard. In daily development, there are still many companies that use this classic and stable environment. For example, the author will see that some companies have replaced their compilers to GCC to do mobile phone development. Visual Studio.net 2003 is the latest version of the development environment officially released by Microsoft, there are too many exciting features. Combine its latest C compiler. For developers with machine configuration, this development environment will be able to meet most of their requirements. Here is not intended to say Visual Studio whidbey alone, although Visual Studio .Net 2005 - Whidbey Community Preview has been launched, it is not very stable, readers can experience themselves. Borland C Builder 6 is not the latest version of Borland's C development environment. The reason for choosing it is that it is not written with Java, the speed is faster. It has a very perfect GUI form designer, and Delphi shares a VCL. Because of these features, it is more suitable for beginners to get started. However, due to the central position of its GUI, it may be not conducive to learning of C languages. Moreover, in order to support the VCL this Object Pascal written, C has passed some private expansion. There is a fact that people have to accept: "The master of Borland C Builder 6 is almost Delphi master." Borland C Builder X is as described above, although the version number and the previous IDE are very similar, but they are actually different integrated development environments. C Builder is a development environment that is synchronized with Delphi synchronization, C Builderx is a feature-rich IDE that thinks from C 's perspective. The biggest feature is the integration of cross-platform, cross-block, multiple Framework, and there is a WXWindows-based GUI designer. Especially using pure C to override the entire Framework, abandoned the previously helpless version. For C development, it is ideal from compiler, to the library, to functional integration.

It is foreseeable that Borland C Builder X 2.0 is worth a C enthusiast expectation. The only embarrassment is a development tool for C , and its IDE is written with Java, please carefully consider the installation in a machine that is not ideal enough. Most of the Emacs GCC speakers is an integrated development environment in a Windows environment. Developers on Linux more preferred to use Emacs to edit C files, with makefile to command GCC to compile. Although it looks relatively loose, these things are integrated or an open 0 environment. If you can use such ambient writing programs, your level should guide us to write this 文. DEV C GCC is a good compiler. When the C compiler on Windows has a distance from the standard, GCC is a compiler that makes the developer's drafted water under WINDOWS. DEV-C is the tool that enables GCC under Windows. As an integrated development environment, it also provides grammar that is comparable to professional IDE, code prompt, debugging and other functions. Due to the use of delphi development, the memory is less memory, the speed is very fast, and it is more suitable for lightweight learning and use. Eclipse CDT Eclipse has recently known a famous development tool. The latest Jolt Grand Prize will give this outstanding god. Say that it is magical because it is written in Java, but has much speed than the general Java written. Moreover, because of the principle of plug-in assembly, a plug-in such a CDT becomes Eclipse into a C / C development environment. If you have always written Java programs with Eclipse, use it to experience the fun of C development. There are many auxiliary tools for tool C , and we do this. Do you have introduced: Document class Doxygen reference site: http://www.doxygen.org Doxygen is a suitable C style language (such as C , C, IDL, Java even including C # And PHP), open source, command-based document generator. C 2HTML reference site: http://www.bedaux.net/cpp2html/ HTML CodeColorizer reference site with C code into syntax: http://www.chami.com/colorizer/ It can take several The source code coloring is HTML DOC-O-MATIC reference site: http://www.doc-o-matic.com/ DOC-O_Matic for your C / C , C . Net, Delphi / Pascal, VB. NET, C # and Java programs or components produce accurate documentation. DOC-O-Matic uses symbols and comments in the source code and the external document files creates documents with popular document style. Docvizor Reference Site: http://www.ucancode.net/products/docbuilder/features.htm Docvizor meets the basic requirements for object-oriented software developers - it allows us to see class hierarchies in C projects. Docvizor quickly generates a complete class hierarchical diagram, including those from third-party libraries, except that Docvizor can generate HTML files from class information.

SourcePublisher C Reference Site: http://www.scitools.com/sourcePublisher_c.html gives the source code generates a fast intuitive HTML report, including code, class hierarchy, call, and called tree, including and contain a tree. Supports a variety of operating systems. Understand Reference Site: http://www.scitools.com/ucpp.html Analyze any C or C project to help us better understand and write documents. Code CCI CC-RIDER Reference Site: http://www.cc-rider.com CC-Rider is a powerful code visual tool for C / C programs to facilitate the maintenance of procedures by interactive browsing, editing, and automatic files. development of. CodeInspect Reference site: http://www.yokasoft.com/ A new C / C code analysis tool. It checks our source code to find non-standard, possible, and ordinary error code. CodeWizard reference site: http://www.parasoft.com Advanced C / C source code analysis tool, using more than 500 coding specification automation, but the compiler cannot check the code structure. C Validation Test Suites reference site: http://www.plumhall.com/suites.html A set of code libraries for test compilers and libraries for standard anastomosis. CPPRefactory reference site: http://cpptool.sourceforge.net/ CPPReFactory is a program that enables developers to reconstruct their C code. The purpose is to make the reconstruction of C code to be effective and simple as possible. LZZ reference site: http://www.lazycplusplus.com/ LZZ is an automated Many C programming tools. It saves us many events and makes coding more fun. Give a series of statements, LZZ will create header files and source files to us. QA C Generation 2000 Reference Site: http://www.programmingresearch.com/solutions/qacpp.htm It is paying attention to object-oriented C source code to warn information about the design, efficiency, reliability, and maintainability. S-Mail Project - Java To C DOL Reference Site: http://sadlocha.strefa.pl/s-mail/ja2dol.html Translate Java Source Codes to the corresponding C source code command line tool. Snip from Cleanscape Software International Reference site: http://www.cleanscape.net/stdprod/snip/index.html The easy-to-use C development tool for the gully between fill coding and design, saves a lot of editing and debugging events, It also enables developers to specify design patterns as object models, automatically generate C classes from the object model. SourceStyler C reference site: http://www.ochresoftware.com/ Provide a complete formatting and typographic control of C / C source code. Provide more than 75 formatting options and fully support ANSI C .

Compilation class CompilerCache reference site: http://www.erikyyy.de/compilercache/ CompilerCache is a package script for your C and C compiler. Each time we compile, package scripts, put the results of the compilation into the cache, once compiled the same thing, the result will be removed from the cache instead of compiling again. CCache reference site: http://ccache.samba.org/ ccache is a compiler cache. It uses like a C / C compiler's cache pre-processor, compilation speed usually improves 5 to 10 times the normal compilation process. CMM (C with multimethods) Reference site: http://www.op59.net/cmm/cmm-0.28/Users.html This is an extension of a C language. After reading the source code of the CMM source code, the function is to add support for MultimumThod to the C language. The Frost Project Reference site: http://frost.flewid.de/ forst allows you to use MultimumThod and virtual function parameters like native C features in the C program. It is a compiler's housing. Test and debug class CPPUnit CPPUnit is a LGPL-based open source project, and the initial version transplant from JUnit is a very good open source test framework. CPPUnit and JUnit are the main ideas comes from extreme programming. The main function is to manage unit tests and automate tests. C Test reference site: http://www.parasoft.com/ C Test is a unit test tool that automates the test of C and C classes, functions, or components. Cantata reference site: http://www.iplbath.com/products/tools/pt400.SHTML Design The purpose of designing this tool is to allow development engineers to carry out unit testing and integrated testing. Purify Reference site: http://www-900.ibm.com/cn/software/RATIONAL/ProductS/purifyplus/index.shtml IBM Rational PurifyPlus is a complete runtime analysis tool to improve application reliability and performance. PURIFYPLUS combines memory errors and leak detection, application performance description, code override analysis, and other functions in a single, complete toolkit. Boundschecker Boundschecker is a C runtime error detection and debugging tool. It accelerates the development and shortening the listing cycle by automated debugging process within Visual Studio. Boundschecker provides a clear, detailed program error analysis, many of which are unique to C and detect and diagnose errors in Static, Stack, and Heap memory, and discovering leaks for memory and resource. Insure Reference Site: http://www.parasoft.com/ An automated runtime program test tool, check that it is difficult to detect, such as memory coverage, memory leak, memory allocation error, variable initialization error, variable definition conflict, pointer error , Library errors, logical errors, and algorithm errors, etc.

转载请注明原文地址:https://www.9cbs.com/read-116497.html

New Post(0)