Header Issues: Guards, Name Mangling, and extern "C"
Patreon ➤ / jacobsorber Courses ➤ https://jacobsorber.thinkific.com Website ➤ https://www.jacobsorber.com --- Header files often have things in them that confuse beginning programmers. This video explains two of them — ifdef guards and extern "C" blocks. Objdump video: • How to Inspect Compiled Binaries (binutils... *** Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers. About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab. More about me and what I do: https://www.jacobsorber.com https://people.cs.clemson.edu/~jsorber/ http://persist.cs.clemson.edu/ To Support the Channel: like, subscribe, spread the word contribute via Patreon --- [ / jacobsorber ] rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-so...] Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.heroku...] Want me to review your code? Email the code to [email protected]. Code should be simple and in one of the following languages: C, C++, python, java, ruby. You must be the author of the code and have rights to post it. Please include the following statement in your email: "I attest that this is my code, and I hereby give Jacob Sorber the right to use, review, post, comment on, and modify this code on his videos." You can also find more info about code reviews here. • I want to review your code.

Reviewing your Code: Refactoring

How different are C and C++? Can I still say C/C++?

2 Years Of Learning C | Prime Reacts

why do header files even exist?

Make your Data Type more Abstract with Opaque Types in C

How to Include File Guards - Why to Include Fileguards in C or C++ Header Files

When do I use a union in C or C++, instead of a struct?

"Clean" Code, Horrible Performance

C "Modules" - Tutorial on .h Header Files, Include Guards, .o Object Code, & Incremental Compilation

Learn To Love DDD-Style Strongly Typed IDs

Back to Basics: Master the static, inline, const, and constexpr C++ Keywords - Andreas Fertig

Can I Handle Exceptions with Try Catch in C? (setjmp, longjmp)

How to Write Function-Like Preprocessor Macros (C example)

Include Guards | C Programming Tutorial

The Insane Genius of a Formula 1 Gearbox

How to Check Your Pointers at Runtime

Header files and libraries (Kevin Lynch)

The SpaceX IPO... It's Worse Than You Think

Why C and C++ Still Matter — And Why Most People Struggle to Learn Them

