Ok, you can call me noob, but I'm confused.
My former classmate paid me to write a program in C. She gave me a task, and she said something like: “Blah blah blah, do at least two classes , write at least one constructor and rewrite at least one method, ” he speaks this word for word.
And then I told her: “This is C ++, not C,” she said, “but we are learning C”
I ignored it and wrote a C ++ program and sent it to her, as I thought she did not know what she was talking about. She said that “this does not work with code blocks, and wtf is cout <and then she sent me a piece of code that they write, and instead of cout and cin there were printf and scanf. This should be C. So, I rewrote the program with using printf and scanf, and it still says code errors are blocking (I still left the classes at the request of the task).
Does C have classes? Or is there a misunderstanding or something like that?
Vanilla face
source share