r/cprogramming • • 10d ago

Guys i need help

Hi everyone, i need help with C i have three F and i might fail this grade, sorry for my english i know its not the best, rn i am studying for IT and i have a huge problem with C. I really dont understand anything and i know the teacher kinda hates me, today i got an F because i save the programme in DecvC++ as "Tobe jarabi" (its a catchphrase that a youtuber from my country uses) and as you all know you have to save it so you could compile it and my programme didnt work so i asked my friend why and he told me because i had a space betwen "Tobe and jarabi" and the teacher came over and gave me an F,please if someone has any tips i would apreciate it.

0 Upvotes

8 comments sorted by

4

u/extoniks 10d ago

Don't wanna embarass you but that space thing is not very related to C it is just a file name (you gave it). If you can't even remember your program file name, how will you complete IT degree? Just think about it.

1

u/SmokeMuch7356 10d ago

I really dont understand anything and i know the teacher kinda hates me,

We can't help you with your teacher. And I suspect he (she?) doesn't really hate you, but may just be losing patience; frankly, you sound a bit like a nightmare of a student. If you already have three Fs and you don't know how to save a file such that it will compile, that's kind of on you.

You're going to have to ask more specific questions; what exactly are you having trouble with? What concepts don't make sense? We can't teach you the entire language from scratch in a Reddit comment, so you're going to have to focus on individual topics.

1

u/minimender 10d ago

To be fair i actually try and i have decent grades in other subjects but the teacher no joke hates a lot of student (some classes including mine had their parents to come and talk to her, and a lot of times she made fun of me and others, even the principal talked to her but nothing seems to work), last exam i got an F for two dimensional strings, and i know about the "space" thing but i didnt notice that i did it.

1

u/Paul_Pedant 9d ago

One reason for a teacher to "hate" students is that they are frustrated that the students don't listen, don't study, and don't take their course seriously. A bad teacher will just go through the motions, and not care if you pass or fail.

2

u/Key_River7180 10d ago

Don't ask to ask, what do you have trouble with?

1

u/Paul_Pedant 9d ago

A C program source needs a flename ending with .c. "Tobe and jarabi.c" would work (it needs the quotes), but is is conventional to use a name that has some association with whatever the program actually does.

0

u/Ajvaz_Dedo_ 10d ago

Burazeru dje je zapelo