TAILIEUCHUNG - Lecture Introduction to computer and programming - Lecture No 26

The contents of this chapter include all of the following: Functions and the lambda calculus; haskell: Introduction, expressions, lists and list comprehensions, elementary types and values, control flow, defining functions, tuples. | CSC103: Introduction to Computer and Programming Lecture No 26 Previous lecture Pointer to a structure Dynamic memory allocation for structure Passing a structure to a function Today’s lecture outline Example program – structure C preprocessor directives Macro expansion File inclusion Conditional Compilation Example Program Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Create a variable of that structure, input value from user and then display those values. Write a program Preprocessor directive Preprocessor directives are the special instruction to C compiler Preprocessor directive are resolved before compilation of program Each preprocessor directive begins with # and can be placed anywhere in the program Following preprocessor directives are used mostly Macro expansion File inclusion Conditional Compilation Macro expansion Preprocessor Macro definition Cont. &&

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.