Created
February 19, 2015 16:41
-
-
Save iwagaki/6168aa11231c87e49922 to your computer and use it in GitHub Desktop.
#MARKER
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#define MARKER(fmt, ...) printf("%s: %d: %s(): " fmt "\n", __FILE__, __LINE__ , __func__, ##__VA_ARGS__) | |
int main(int argc, char *argv[]) | |
{ | |
MARKER("test %d", 100); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment