外文翻译---codewarrior介绍(编辑修改稿)内容摘要:
r Windows, control panels are those (usually small) programs that are stored in your Control Panels directory and visible in the Control Panel section on the Start menu. The control panel itself is simply an interface to a systemwide feature, like setting the sound volume or the mouse39。 s motion speed, for example. DLLs supply useful functions that are shared by the operating system and applications. They typically don39。 t have a user interfacePlugins are similar to DLLs in that they provide small pieces of code that are used by other software. However, a single program typically uses this code. For example, Photoshop plugins allow programmers to easily extend the capabilities of the Photoshop application without having access to its source code. Likewise, many Web browsers use plugins that add extra features to the application or allow you to manipulate new content types on the Web. Many programs, including CodeWarrior, make use of this plugin architecture. There are plenty of other types of programs you can write once you master CodeWarrior and the programming interfaces for your operating system. In fact, once you plete this course, you can take other courses in which you will learn more indepth methods of programming your puter. You39。 ve chosen an excellent place to begin your journey. Understanding the Project File To create programs in CodeWarrior, you will use a number of files that work together to form a project. A project39。 s settings and pointers to other files are stored within a project file. These settings include piler and linker options, source files, libraries, and information about how they interact with one another to build the final product your program. For now, just think of the project file as the brain of your project: it keeps track of everything that is going on and knows how to bine files and settings into a working application program. The Project window in turn displays this information about your program and its files and allows you to modify the project by just pointing and clicking. Most of the files that make up your program are ordinary text files. These files contain your source code. You39。 ll create them by typing the source code into the CodeWarrior editor. In some cases, you will also use prebuilt source code and header files. There are also library files, such as the Metrowerks Standard Library (MSL) which provides valuable functions for math calculations and I/O operations. Your source code will usually be written in C or C++, but can also be in any other language that is supported by a CodeWarrior IDE plugin. Recall that CodeWarrior is an extensible IDE. In other words, by inserting (or writing) a plugin, you can extend the capabilities of the CodeWarrior IDE. For example, if someone develops a new programming language, say Z++, you could create a plugin to support that language and sell it for a zillion bucks, and then anyone using the CodeWarrior IDE could program in Z++. Understanding the Compile Phase Compiling your source code is the next step after you type it in. When you pile your source code, your puter parses and analyzes the code that you39。 ve written (usually in C or C++) and converts it to machine language. Machine language is a programming language that your puter can understand and act upon much more quickly than C or C++. machine language is hard to read, let alone type correctly. Machine code is a bit more difficult for a human to read than C or C++ code. However, it39。 s just what the puter needs, and your application will operate much faster if you pile or translate it into machine language at the outset than if it has to make。外文翻译---codewarrior介绍(编辑修改稿)
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。
用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。