搜索资源列表
TEST1
- 定义一个带参数的宏,使两个参数的值互换。在主函数中输入两个数作为使用宏的实参,输出已交换后的两个值。-Define a macro with parameters, so that the value of the exchange of the two parameters. Enter in the main function of the two numbers as the use of macro arguments, the output has two values after t
C-hong
- 宏程序编程是难点,但宏定义很重要,全面解析宏定义。-Macro programming is difficult, but the macro definition is very important to fully resolve the macro definition.
PortPc2
- 能够与STM32单片机的串口进行通讯,当中注意一些名称相近的宏定义。-With the STM32 microcontroller serial communications, note that some similar name macro definitions.
dsw
- 熟悉RCC配置细节,系统运行不同的频率RCC配置不一样 RCC 用于配置系统运行频率,通过改变宏定义不同频率 LED交替闪烁的速度不一样,体现CPU运行速度快慢。-Familiar RCC configuration details, the system runs a different frequency is not the same RCC RCC configuration is used to configure the system operating frequency, dif
shiyan2
- 哲学家进餐问题 #include<stdio.h> #include<semaphore.h> #include<pthread.h> //宏定义信号量个数为5,宏定义0表示思考,宏定义1表示饿,宏定义2表示吃,宏定义(ph_num+4) N表示左,宏定义(ph_num+1) N表示右 #define N 5 #define THINKING 0 #define HUNGRY 1 #define EATING 2 #