Thread 106119706 - /g/ [Archived: 458 hours ago]

Anonymous
8/2/2025, 10:22:58 PM No.106119706
me
me
md5: ee2edd6392aa125c791086a206995879🔍
/* test.h */
#define A(a, b, ...) b, a __VA_OPT__(,) __VA_ARGS__

#define A2(...) A(__VA_ARGS__)

#define O(s) s, "c"

A("a", O("b"))
A2("a", O("b"))

>gcc -E test.h
>"b" "c" "a"
>"b" "a" "c"
uh
Replies: >>106119777 >>106119896 >>106120609
Anonymous
8/2/2025, 10:28:42 PM No.106119751
oh nevermind I'm retarded
Anonymous
8/2/2025, 10:31:36 PM No.106119777
>>106119706 (OP)
C is such a disgusting language
Replies: >>106119786
Anonymous
8/2/2025, 10:33:00 PM No.106119786
>>106119777
None of that is c. It's all preprocessor.
Replies: >>106119803 >>106119806
Anonymous
8/2/2025, 10:34:47 PM No.106119803
>>106119786
It's a C preprocessor.
Anonymous
8/2/2025, 10:34:54 PM No.106119806
>>106119786
um akshually the preprocessor is part of the C programming language
Replies: >>106119878
Anonymous
8/2/2025, 10:42:18 PM No.106119878
>>106119806
If I just need some preprocessing on some random non code files? Not just #defines, but #ifdef and #else. What is the thing I'm looking for? Template engines? And what is the /g/ood one?
Replies: >>106120697
Anonymous
8/2/2025, 10:44:27 PM No.106119896
>>106119706 (OP)
wonder what freaked him out
Anonymous
8/3/2025, 12:07:10 AM No.106120609
>>106119706 (OP)
what's the deal with the moose and is that blood on the floor
Replies: >>106120636
Anonymous
8/3/2025, 12:11:47 AM No.106120636
>>106120609
that's not a moose. it's donald trump diddling a little boy.
Anonymous
8/3/2025, 12:17:37 AM No.106120697
d134f65727c483d085b9fdaeacfaf523
d134f65727c483d085b9fdaeacfaf523
md5: 300aba5423923b911d4ba6f3f89d1965🔍
>>106119878
m4?