Skip to content

Instantly share code, notes, and snippets.

@gypark
Created June 29, 2012 03:53
Show Gist options
  • Save gypark/3015590 to your computer and use it in GitHub Desktop.
Save gypark/3015590 to your computer and use it in GitHub Desktop.
매크로 테스트
#include <stdio.h>
#define debug_printf(x) printf("[%d, %s] %s", __LINE__, __FUNCTION__, (x))
int main() {
debug_printf("hello\n");
}
@gypark
Copy link
Author

gypark commented Jun 29, 2012

실행결과

[6, main] hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment