码迷,mamicode.com
首页 > 其他好文 > 详细

About C

时间:2017-04-29 12:50:46      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:deb   oss   error   using   cond   eps   test   lan   obj   

1. The virtues of C

    1) Efficiency

    2) Portability

 3) Power and Flexibility

   4) Power and Flexibility

   5) Programmer Oriented

2. Shortcomings

 

  1) C‘s use of pointers,in particular, means that you can make programming errors that are difficult to trace.

     2) C‘s conciseness, combined with its wealth of operators, make it possible to prepare code that is extremely difficult to follow.

 

3.Using C: Seven Steps

         1): Define the Program Objectives

    2): Design the Program

         3): Write the Code

         4): Compile

         5): Run the Program

         6): Test and Debug the Program

         7): Maintain and Modify the Program

 

4.Programming Mechanics

About Object Code File, Executable Fiels, and Libraries

  object code file: it contains the translation of your source code,but it is not yet a complete program.It lacks of two elments, the first one is something called startup code, which is code that acts as an interface between your program and the operating system.And the second one is the code for library routines.It is part of the standard C library.

       executable file: a file containing ready-to-run machine language code.

       Libraries: A library file contains object code for many functions.

About linker: the role of the linker is to bring together these three elements—your object code, the standard startup code for your system, and the library code—and put them together into a single, the executable file.

 

 

 

    

About C

标签:deb   oss   error   using   cond   eps   test   lan   obj   

原文地址:http://www.cnblogs.com/rotaux/p/6784876.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!