Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Advanced Programming: This curriculum acquaints programmer with the basic framework and implementation procedure of C program, and the basic knowledge of programming such as data type, data processing, etc; develops programmer’s basic ability, introduces the design, array, function, etc of 3 structure programs; develops the ability to design application program, and introduces pointer, structure, file, the application program of development procedure, etc. Mainly learning: Constituents and formats of C program Decimal integer and real number Predefined id User id Integer variable and real variable Arithmetic expression Assignment expression Increment and decrement operators and comma operator Assignment statement Simple input and output statements of integer and real numbers Compound statement and null statement Relational operator and logic operator Branched structure consisting of if statement Branched structure consisting of conditional expression Branched structure consisting of switch statement and break statement Switch statement Execution procedure of switch statement Use of break statement in switch statement Loop structure consisting of statement Loop structure consisting of while statement Loop structure consisting of do-while statement Nested loop structure Comparison among several loop structures Role of break and continue statements in loop Statement label and goto statement Definition and return value of function Grammar of function definition Return value of function Call of function Two call modes of function Grammar requirements for function call Data transfer between calling function and called function Description of function prototype Description statement of function prototype Location of function prototype description statement Algorithm and structured programming Structured programming and modular structure How to evaluate a program General character constant Escaped character constant Character literal operations Character variable Input and output of character Call of printf and scanf function Call of putchar and getchar function Call of getche and putche function Call of getch and putch function Address and pointer Definition and base type of pointer variable Assignment to pointer variable Pointer to an object Assignment of “null” to pointer variable Operation of pointer variable Reference of a storage unit by pointer or address Transfer of address value between functions Use of address or pointer variable as argument Direct change of variable value of calling function in called function Return address value of function Definition of one-dimensional array and reference of one-dimensional array element Definition of one-dimensional array Reference of one-dimensional array element Initialization of one-dimensional array Definition of array size through assignment of initial value Example for application of one-dimensional array (I) One-dimensional array and pointer Addresses of one-dimensional array and array element Reference of array element by the first address of array Reference of one-dimensional array element by pointer Reference of one-dimensional array element by the pointer with subscript Use of one-dimensional array name or array element as argument Use of array element as argument Use of array name as argument Use of array element address as argument Definition of two-dimensional array and reference of two-dimensional array element Initialization of two-dimensional array Definition of two-dimensional array size through assignment of initial value Example for application of two-dimensional array (I) Two-dimensional array and pointer ? Address of two-dimensional array and array element Reference of two-dimensional array element by address Reference of two-dimensional array element through establishment of pointer array Reference of two-dimensional array element through establishment of line pointer Construction of two-dimensional array through establishment of pointer array and one-dimensional array Use of two-dimensional array name and pointer array as argument Use of two-dimensional array name as argument Use of pointer array as argument Example for application of two-dimensional array (II) Storage of string using one-dimensional character array Assignment of string to one-dimensional character array in the way of assignment of initial value Assignment of string to one-dimensional character array during execution of C program Use of pointer for pointing to a string Pointing of pointer to string in the way of assignment of initial value Pointing of pointer to string by assignment operator Difference between the string using character array and the string using pointer for pointing Input and output of string Requirement for input and output of string Character input and output String input and output using format specifier “%s” Input and output of character at terminal by line through call of gets and puts function String array Function used for string processing Parameters transmitted to main () function Scope and storage type of user id in C language Internal variable, external variable and storage classification Scope of user id Internal variable, external variable and storage classification Internal variable and its scope and existent period Auto variable Register variable Static storage type internal variable External variable and its scope and existent period Scope and existent period of external variable Use of extern specifier in the same compilation unit Use of extern specifier in different compilation units Classification of function storage Description of function using extern Description of function using static Method of connection with more than one compilation units under Turbo C integrated environment Macro replacement S Macro definition without parameters Macro definition with parameters Termination of macro definition File inclusion Conditional compilation #line line Dynamic storage allocation Malloc function and free function Calloc function Realloc function Structure type and user definition type Description of a new type name using typedef Definitions of variable, array and pointer of structure type Assignment of initial value to structure variable and array Reference of data in structure type variable Formation of more complex storage structure through a structure Transfer of structure variable data between functions Transfer of structure variable member to function Transfer of structure variable to function Transfer of structure address Function value as structure type Return value of function as the pointer type pointing to structure variable Use of structure variables for constituting linked list Member of pointer pointing to this structure contained in the structure Concept of dynamic linked list Singly linked list Singly ring linked list Doubly linked list Integer and integer variable in language Storage form of integer in memory Conversion between integer types in language Description of union type and definition of variable Reference of union variable Union application example Bitwise operator and bitwise operation Operating functions of bitwise operator Input and output of data at terminal according to formats Input of data at terminal of call printf() according to formats General call form of printf() function Description of formats commonly used in printf () function Notices during call of printf ( function Input of data at terminal of call scanf() according to formats General call form of scanf() function Description of formats commonly used in scanf () function Input of data from keyboard by scanf function Getc(fgetc) function and putc(fputc) function File end judgment function feof Fscanf function and fprintf function Fgets function and fputs function Fread function and fwrite function File positioning function Fseek function Ftell function Rewind function