#cpplang — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cpplang, aggregated by home.social.
-
After 20 years I did some C++ coding again to write a communication layer to my Samsung AC for an ESP.
I still wonder why C++ never get rid auf writing header files by hand. It feels so unnecessary compared to other languages.
I mean why not write only CPP files with export keywords and auto generate headers only when needed. #cpplang #cpp -
Für den Dateiuplod in #paperlessngx nun einen FTP User inklusive Upload-Folder eingerichtet…
#shell #programmierung liegt mir jetzt nicht so 😅. Ich möchte gerne die Dokumente von meinem Upload-Folder in den Consume Folder von Paperless verschieben… kann mir jemand helfen?
Wenn nein, dann muss ich doch noch mein kleines Verschiebetool in #cpp abändern 🙈 (dazu hab ich irgendwie keine Lust 😅).
#cpplang -
On leading underscores and names reserved by the C and C++ languages, https://devblogs.microsoft.com/oldnewthing/20230109-00/?p=107685.
Where we learn that the ˋisˋ prefix is reserved in C. So technically, a function named ˋisland` is incorrect. Same for ˋstrong` or ˋtogether` because ˋstr` and ˋtoˋ prefixes are also reserved.
-
“For all the talk C programmers love to make about how ‘close to the metal’ they are, they never really were. — @thephd https://thephd.dev/c-undefined-behavior-and-the-sledgehammer-guideline #cProgramming #cLanguage #cplusplus #cpplang #programming #systemsProgramming #abstractMachine #undefinedBehavior #undefinedBehaviour