Skip to content

Instantly share code, notes, and snippets.

@JackYang-hellobobo
Last active January 11, 2024 16:25
Show Gist options
  • Save JackYang-hellobobo/78016ad256dfd52049baf7b8d4a142c0 to your computer and use it in GitHub Desktop.
Save JackYang-hellobobo/78016ad256dfd52049baf7b8d4a142c0 to your computer and use it in GitHub Desktop.
C语言 带参数宏 预编译器

C语言 带参数宏 预编译器

#include<stdio.h>

#define PRETYY_PRINT(msg) printf(msg);

int main(void){
	PRETYY_PRINT("doi with lucky");
	return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment