- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
c程序设计,各章重点知识(C programming, each chapter key knowledge)
c程序设计,各章重点知识(C programming, each chapter key knowledge)
Program Design Fundamentals (C language) review outline
The first chapter is the outline of program design
1, the basic features of the composition and form of the C program
(1) C programs are made up of functions. A C source program contains at least one main function and can contain a main function and a number of other functions.
(2) a function consists of two parts
The head of a function: the first line of the function, including the function type, function name (parameter type, parameter name)
Example: int max (int, x, int, y)
A function name must have a pair of parentheses followed by parentheses, function types, and parameter names. Functions can have no arguments, such as main ().
Function body: the part of curly braces below the head of a function. If there are more curly braces in a function, the pair of braces in the outermost layer is the range of the body of the function. Function body general packet
Declaration section, execution part
2, the steps to run the C program and the type and characteristics of each step to generate the file
C source program (*.C), pre compile processing (*.C), compile, optimize program (*.s, *.asm), assembler program (*.obj, *.o, *.a), link program (*.lib, *.exe, *.elf, *.axf).
3, computer programming language from machine language, assembly language to high-level language. Machine language: a collection of machine instructions that can be directly identified and executed by binary code. An instruction set consisting of 0 and 1 arranged according to certain rules. Assembler: the use of mnemonics instead of operation code and replace the address code with the address sign or label. The machine cannot be directly identified and needs to be translated into machine language. Higher language: closer to natural language. Programs written in high-level languages do not run directly. They need to be translated into machine language to run, and there are two ways to translate and
您可能关注的文档
- 高德地图商业模式分析(缩减版).doc
- 高德地图实时交通对接.doc
- 高效教室15细节.doc
- 高层主管商务谈判.doc
- 高性能营销人员学习地图建设.doc
- 高清拍摄前设备.doc
- 高效液相色谱(HPLC).ppt
- 高炉铅与环保.pdf
- 高尔夫杂志推广计划.ppt
- 高级个人主要故事.doc
- c语言中类型转换(Type conversion in C language).doc
- c语言之数字转化为字符串的库函数(The C language is converted into a string library function).doc
- c语言复杂声明的解析(Parsing complex declarations in C).doc
- cxvbgcvbxc(cxvbgcvbxc).doc
- dac芯片比较介绍(Comparison of DAC chips).doc
- c语言总结(C language summary).doc
- d-二聚体评价溶栓治疗急性心肌梗塞的价值及意义(The value and significance of d- two dimer in the evaluation of thrombolytic therapy for acute myocardial infarction).doc
- dedecms顶级栏目与子栏目的调用(多种调用方法)(Dedecms top column and sub column call (multiple call method)).doc
- dir命令用法(Dir command usage).doc
- dk输出(DK output).doc
文档评论(0)