Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Seriously though, header guards are incredibly cumbersome in 2019, and I can't think of a case when you'd not want to use them
So eh, they really should come up with some standard directive for this. -
Hazarth95305yI guess, CLion includes header guards automatically into new class files so I never needed to use pragma once, not a big deal I guess
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
elgringo41Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
#pragma once
is not standard ? really ?
question
c++
c