æ®éã®ãã¤ãã®ä¸ãè¡ã: Cã§åçã³ã¼ãçæã»å®è¡ ã¹ã¯ãªããè¨èªã«ã¯åçã«ã³ã¼ããçæãã¦å®è¡ããæ©è½ãæã£ããã®ãå¤ãããã¾ãã æ®éã®ãã¤ãã®ä¸ãè¡ãã®ç¬¬3åã¨ãã¦ãä»å㯠C ã«ããåçãªã³ã¼ãçæã¨å®è¡ã«åãçµãã§ã¿ããã¨æãã¾ãã ä»åæ¸ããã³ã¼ãã® main() é¢æ°ã¯ä»¥ä¸ã®ãããªãã®ã§ãã int main(int argc, char **argv) { assert(argc == 2); define(int, add, (int x, int y), "{ return x + y; }"); define(int, mul, (int x, int y), "{ return x * y; }"); define(int, add_argv1, (int x), "{ return x + %d; }", atoi(argv[1])); printf("%d\n"
{{#tags}}- {{label}}
{{/tags}}