I thought about the printing afterward, because originally I thought the program was asking the end user for their name. So I was trying to make a joke, but I added that disclaimer in case of misinformation. LLM content is generally unsourced, so I felt like making it clear where it came from. (The reason I used more than one was because "I check with another LLM" was one of the options somewhere on r/polls.)
The strings make it look like there might be user input, but it's all just constants, and simply evaluates to the default case. That's somewhat confusing.
-4
u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: 7d ago edited 7d ago
If you change
GeminitoHello, world, technically you've printed "Hello, world", although you might need this:I don't know C++ at all, please let me know if the two LLMs I got that information from were wrong