Be me in Higher Learning

>Be me in Higher Learning
>Have a project in which we have to write C code to control a servo.
>Have autistic partner, 100% sure he browses Sup Forums
>Starting to make progress while he tinkers around with shit.
>He has a total chimpout when he finds out the project is in C and not C++. Demands we rewrite the project in C++ and changes all the file extensions to .hpp and .cpp.
>He slowly starts figuring out that things aren't working.
>Starts putting extern "C" around all the functions...
>Writes wrappers for malloc and free ( pic related ) along with other shit.
>There is a cmakelists.txt in every folder for some reason. Some of them are empty and just placeholders.
>Noone knows how to build this monstrosity but him.
>Barely get it done in time and somehow get a decent grade.

If you're reading this, fuck you.

Attached: bigsmartie.png (850x800, 166K)

Other urls found in this thread:

github.com/mel00010/panoBot/blob/master/src/Firmware/Util/new.cpp
twitter.com/NSFWRedditImage

I FUCKING HATE SEPPLES

You should have expulsed him the moment he touched the filenames. You brought this on yourself by letting it continue.
>dog in house on fire.jpg

What’s wrong with pic related if you’re using real C?

kek

You need to throw in a bunch of C only features just to fuck with sepples retards.
I'm one of the authors of a decently popular library (by that, I mean there is at least one user other than myself), and in the headers, there is shit like struct members named 'class', and static array parameters.

'operator' is not valid in C. However, the they're really just completely pointless.

>made up stories

go fuck yourself

github.com/mel00010/panoBot/blob/master/src/Firmware/Util/new.cpp

can't make this up

I wasn't going to post it, but I guess it is public on github

>cmake files everywhere
Wow you weren't kidding

Attached: 1520001590205.png (351x351, 184K)

> * panoBot is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.


There's your problem.

Zach, you fucker.

is one of you by any chance finnish?

Comp Sci + Math FTW

Were those things even used?
Your code looks so simple I couldn't even tell if it was C or C++ but I didn't see any calls to new or malloc.

Your welcome faggot.

Attached: 21a3e41d7a9ebfadb06e8ccb920eb994--kancolle-chibi.jpg (600x600, 45K)

>Updated this
>Updated that
>l
Fantastic commit messages.

>.cproject
>using eclipse

If a student GPL'ed their assignment, I would immediately fail them.

Why?

Fucking hell, some people really need to realise that fracturing your codebase over so many files makes it unreadable as fuck.

>>There is a cmakelists.txt in every folder for some reason. Some of them are empty and just placeholders.
That's how you are supposed to do it though.

That is highly autistic. I feel for you user.
many Sup Forums autistics will see nothing wrong with this.

benis is tha best

Sounds like something i'd do.
C++ is comfy as fuck if you know everything it does behind the scenes. I wrote windows kernel driver in C++17. Although i didnt really use the dynamic mem features (so vectors and shit), but constexpr and templates are a godsend. Also you can do cool shit like threadsafe lockfree static memory backed ringbuffers that would be slower and aids to manage in C

haha panobot :DD

like fucking bot :-------D

You should have put your foot down as soon as he mentioned sepples. I can't imagine why someone would willingly use it over C unless they're a brainless feature addict who can't understand the proper place for languages.