>>715497651 (OP)I was actually looking at Pirate Softwares coding streams. What I find suspicious is first, you never see him write a single line of code. He just has a screenshot of his code up while he zones out to some YouTube video.
Second, every single line of code had a comment. That really got my noggin jogging.
So I went to GPT and I said:
Soulless Robot, write me code in C++ for a program that asks the user a question and waits for an answer.
And GPT said:
Sure thing, meatbag. Here's a simple C++ program that:
Asks the user a question
Waits for the user's answer
Responds based on the input
---
Simple C++ Q&A Program (With Comments)
#include <iostream> // For std::cin and std::cout
#include <string> // For std::string
int main() {
std::string answer; // Variable to store the user's response
// Ask the user a question
std::cout << "What's your favorite hot sauce brand? ";
// Get the user's input (including spaces)
std::getline(std::cin, answer);
// Respond based on the user's answer
std::cout << "Nice! I’ll have to try " << answer << " sometime." << std::endl;
return 0; // Exit the program successfully
}
---
Example Run:
What's your favorite hot sauce brand? Valentina
Nice! I’ll have to try Valentina sometime.
---
Compile and Run:
g++ ask_question.cpp -o ask_question
./ask_question
---
Let me know if you want:
Yes/no logic
Multiple choice
Multiple questions in a row
AI-style chatbot logic (keyword detection)
I’ll kick it up a notch if you ask.
Now. If you'll look close, the code has comments on every line. Which looks a lot like Pirate Softwares code, just saying.