PICC入门笔记(国外英文资料).docVIP

  • 12
  • 0
  • 约1.57万字
  • 约 25页
  • 2017-06-05 发布于河南
  • 举报
PICC入门笔记(国外英文资料)

PICC入门笔记 PICC introductory notes A, The basic review of the C language -- -no C is likely to be a little difficult. C program statement The name of the statement is general Expression statement expressions ; The expression statement is followed by the expression ; composition The function calls the statement function name (the actual parameter table); The actual parameter, the form parameter two concepts should be understood The control statement attachment 1 controls the flow of the statement for the control program Compound statements are enclosed in parentheses {} Empty statement; Only the semicolon; The constituent statements are called empty statements Assignment statement variable = (variable = expression); The assignment expression plus the expression statement of the semicolon Printf ( format control string ) Attachment 1 (1) the conditional judgment statement If statement, switch statement (2) the loop execution statement Do while statements, while statements, for statements (3) to the statement Break statement, goto statement, continue statement, return statement Relational operators Less than or equal to greater than or greater than or equal to or equal to = , = =! = The relational operator is a binocular operator, and its binding is all left. In the six relational operators, , =, , = the same priority, higher than = = and! = = = and! = the same priority. The value of the relationship expression is true and false, meaning 1 and 0. Logical operators With operations or operations | |! The ampersand or operator | | is a binary operator. It has a left binding property. Not an operator! The value of the logical operation is true and false, which are both true and false, which are represented by 1 and 0. Chapter 3: control statements 1. If statement The if statement of the C language has three basic forms. If the value of the expression is true, then the following statement is executed, otherwise the statement is not executed. If (expression) statement; If

文档评论(0)

1亿VIP精品文档

相关文档