r/C_Programming • u/Ivan_Pashaev • Jul 25 '26
Project My first program written in C
https://github.com/IvanPashaev/CWordsHi ! Im a beginner developer. I decided to learn C and wrote my first program—a small game that runs in the terminal
22
Upvotes
•
u/AutoModerator Jul 25 '26
Hi /u/Ivan_Pashaev,
Your submission in r/C_Programming was filtered because it links to a git project.
You must edit the submission or respond to this comment with an explanation about how AI was involved in the creation of your project.
While AI-generated code is not disallowed, low-effort "slop" projects may be removed and it's likely that other users push back strongly on substantially AI-generated projects.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
28
u/sens- Jul 27 '26
Your very first program uses termios and has a neat folder structure? You must have a very large context window
6
u/terra2o Jul 27 '26
your em-dashes are suspicious man
3
u/greg_kennedy Jul 28 '26
this is giving me hives, use a for loop like a normal person
to say nothing of recalculating
strlen(random_word)every iteration...21
u/Typhrenn5149 Jul 27 '26
I doubt it
2
u/awsq_code Jul 27 '26
окак
5
u/Confused-Armpit Jul 27 '26
Doesn't compile at all on anything other than windows due to the lack of stddef and stdio. Also no ifdef guards, so even the unix build tries including windows.h. Also also it won't work on anything other than windows because you are using chcp which is a windows only thing.
The use of goto statements doesn't seem like it was made by an AI, but otherwise the code is also quite suspicious, like half the comments being in russian and the other half in english among other things.
1
u/ArtOfBBQ Jul 30 '26
"My very first treasure hunt, I found $5000 lying on the street while cartwheeling through it"
"Finding $5000 unattended on the street is quite rare, and no beginner treasure hunter ever has been able to move exclusively by way of cartwheel, are you sure that's really what happened?"
"Yes, I've been studying how to treasure hunt for years without ever leaving my house. I observed the cartwheeling technique. I guess I'm just really talented"
"You appear to have blood on your hands and all over your clothes, did you shoot someone and steal their $5000?"
"Nono, I just have a butchering hobby and was working with some unrelated steaks. I'm very bad at fashion, please excuse me"
"You appear to have a smoking gun holstered around your hips, though"
"Yes, I have an unrelated shooting hobby and I went to the shooting range for some quick practice right before this"
"What made you interested in shooting and what made you aspire to be a butcher? What about treasure hunting would you like to discuss?"
"I can't answer any of those questions, I'm just a beginner treasure hunter"
"OK your post has been approved welcome to the treasure hunting subreddit"
1
u/[deleted] Jul 28 '26
[removed] — view removed comment