devilish666@lemmy.world to Programmer Humor@programming.dev · 8 months agoTrue Storylemmy.worldimagemessage-square33fedilinkarrow-up1134arrow-down113
arrow-up1121arrow-down1imageTrue Storylemmy.worlddevilish666@lemmy.world to Programmer Humor@programming.dev · 8 months agomessage-square33fedilink
minus-squareMinekPo1 [She/Her]@lemmygrad.mllinkfedilinkarrow-up1·8 months agoreminder that .H can be used as a c++ header extension , along with .C for source files
minus-squareScoopta@programming.devlinkfedilinkarrow-up1·8 months agoYep which IMO is ugly but I’d way prefer that over everyone using .h
minus-squareMinekPo1 [She/Her]@lemmygrad.mllinkfedilinkarrow-up1·8 months agohonestly I use .hh/.cc which is quite nice IMO . you can also use .hpp/.cpp but I don’t like it personally
minus-squareScoopta@programming.devlinkfedilinkarrow-up1·8 months agoYeah. My original comment should have been “I wish people would use a C++ specific extension for headers.” I just picked hpp because cpp seems to be the most widely used C++ extension.
reminder that .H can be used as a c++ header extension , along with .C for source files
Yep which IMO is ugly but I’d way prefer that over everyone using .h
honestly I use .hh/.cc which is quite nice IMO . you can also use .hpp/.cpp but I don’t like it personally
Yeah. My original comment should have been “I wish people would use a C++ specific extension for headers.” I just picked hpp because cpp seems to be the most widely used C++ extension.