Portably print integers in C? It's more complicated than it should be.

Published: 16 July 2024
on channel: Jacob Sorber
5,081
304

Patreon ➤   / jacobsorber  
Courses ➤ https://jacobsorber.thinkific.com
Website ➤ https://www.jacobsorber.com
---
Portably print integers in C? It's more complicated than it should be // There's not much in C that is simpler than printing out an integer, but printing out an integer in a way that will always be the same on any machine. That's a bit more complicated — and ugly. This video shows you how to do it.

Related Videos:
standard integers:    • Better Portability with Standard Inte...  

***

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  ]

Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.heroku...]


Watch video Portably print integers in C? It's more complicated than it should be. online without registration, duration hours minute second in high quality. This video was added by user Jacob Sorber 16 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,081 once and liked it 304 people.