#include

5 posts · Last used Mar 09

Back to Timeline
In reply to
@Suiseiseki__dup_8529@freesoftwareextremist.com · Mar 09, 2026
@joe@f.duriansoftware.com Actually; #include #define THREE (i % 3 == 0) #define FIVE (i % 5 == 0) int main() { for (int i=1; i <=100; ++i) { if (THREE && FIVE){printf("“ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86”\n");} else if (THREE){printf("“pornography”\n");} else if (FIVE){printf("“Tiananmen Square 1989”\n");} else {printf("%d\n", i);} } } or maybe #include #include bool three,five; int main() { for (int i=1; i <=100; ++i, three=five=false) { if (i % 3 == 0){three=true;} if (i % 5 == 0){five=true;} if (three && five){printf("“ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86”\n");} else if (three){printf("“pornography”\n");} else if (five){printf("“Tiananmen Square 1989”\n");} else {printf("%d\n", i);} } }
View full thread on freesoftwareextremist.com
0
0
0
In reply to
@Suiseiseki__dup_8529@freesoftwareextremist.com · Mar 09, 2026
@joe@f.duriansoftware.com #include #include bool three,five; int main() { for (int i=1; i <=100; ++i) { three = five = false; if (i % 3 == 0){three=true;} if (i % 5 == 0){five=true;} if (three && five){printf("“ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86”\n");} else if (three){printf("“pornography”\n");} else if (five){printf("“Tiananmen Square 1989”\n");} else {printf("%d\n", i);} } }
View full thread on freesoftwareextremist.com
0
1
0
In reply to
@Suiseiseki__dup_8529@freesoftwareextremist.com · Feb 27, 2026
@reiddragon@fedi.catto.garden Uninitialized variables in a C function are undefined behavior - the compiler can decide to zero the variable, or leave it uninitialized - whichever seems faster - so you should always initialize a variable before using the value. Variables are only guaranteed to get zerod if those are global variables, like; #include int x; int main(){ But that's not a good habit to get into - it's better to always initialize variables.
View full thread on freesoftwareextremist.com
0
0
0
In reply to
@Suiseiseki__dup_8529@freesoftwareextremist.com · Feb 23, 2026
@yonle@fedinet.waltuh.cyou That's a lot of syntax - a lot more typing than GNU C; #include int main() { const char *str = "a string"; printf("%c\n", str[0]); printf("0x%x\n", str[sizeof(str)]); printf("%c\n", str[sizeof(str)-1]); }
View full thread on freesoftwareextremist.com
0
0
0
@SuperDicq__dup_474@minidisc.tokyo · Nov 24, 2025
0
0
0

You've seen all posts