23

Ok, so teacher (which should be something like a professional dev or whatever) assigned us a homework for a Christmas (I dont care, I can complete his assignments in like 10 minutes max). We have to do some simple shit in C++, just some loops and input + output. Nothing hard. He challenged me to write it as short as possible, so I did. My classmates have codes around 60 to 70 lines long (after propper formating). I made it 20 lines long using some pointer magic and stuff like that. I tried my code, it ran fucking perfectly, so I sent that to him. He replied that the code does not work. I tried to recompile it and it ran perfectly. Again, it does not work. Afeter 13 fucking emails he fucking finally sent me the error message. Some fucntion was not found (missing some library but literally everywhere else it works without it...). Thats strange, because it run perfectly on my Fedora with CLion, so I switch to Windows and try to run same code in Visual Studio (which we are using in school btw). Works perfectly. So I start arguing with the teacher more and more. I tried around 10 online compilers. Works fuckng everywhere. Teacher is pissed, me too. So I rewrote my whole code, added comments and shit, reinvented wheel literally everywhere. Now I have C99 standardised code over 370 lines long that run even on a fucking arduino after changing input output methods so it can work with it. It (suprisingly runs) on his PC too.

After a bit more arguing, he said that he is using CodeBlocks from fucking 2015. Wow. Just fucking wow. Even our school has some old Visual Studio (2007 I guess) and it worked there.

Comments
  • 2
    @LeFlawk hes autistic (thats OK I guess) dickhead (but this is not).
  • 8
    We all love teachers. Especially the ones that don't even think of agreeing that they are the wrong
  • 1
    Might as well use C if you're using codeblocks.
  • 3
    The only thing worse than codeblocks is writing Assembly in notepad
  • 0
    Never used it myself, but for simple school assignments I believe codeblocks will do just fine. What compiler / flags did he use ?

    Also, I'm curious what kind of assignment would cause this kind of breakage ...
  • 0
    Problem is, a lot of autistic people can seem like dickheads, but it's really not intended.
Add Comment