Using Environment Vars for More Portable Code @JacobSorber
Using Environment Vars for More Portable Code  @JacobSorber
Uploaded June 2025 | Updated September 2026, 2 weeks ago
Patreon ➤ patreon.com/jacobsorber
Courses ➤ jacobsorber.thinkific.com
Website ➤ jacobsorber.com
---
Using Env Vars for More Portable Code // we all like portable code. This video shows one way that environment variables can keep things flexible and allow your programs to work on different machines with different configurations and constraints.

Related Videos:
Env Vars: youtu.be/ADh_OFBfdEE
Libraries at runtime (dlopen): youtu.be/_kIa4D7kQ8I

***

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:
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 --- [patreon.com/jacobsorber]

Source code is also available to Patreon supporters. --- [jsorber-youtube-source.herokuapp.com/]
Using Environment Vars for More Portable CodeHeader Issues: Guards, Name Mangling, and extern CWorking with a Matrix/2D Array in Your C and C++ programs.Fixing our better hash tables memory leaks (in c)How to measure memory usage inside my program? (getrusage)How to Automatically Run a Function When My Program Exits. (atexit)The Ternary Operator (examples in C and C++)How to Blink LEDs with Timers and Interrupts in C (MSP430, Arduino)This Channel is Biased!...and happy new year.Why are my ADC readings messed up? (Arduino example)Understanding the For Loop (examples in C)Testing matters. Watch those corner cases.
Jacob Sorber |

Using Environment Vars for More Portable Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER