Programmers who move to C from some high-level language such as Java, C# or Python are in for a few shocks. Because C often doesn’t do the things those other languages do. C is a lower-level language. Often it works the way the computer hardware works rather than the way a programmer might find convenient. It doesn’t have high-level objects or garbage collection, it doesn’t have all the checks and “safety nets” to save you from making catastrophic mistakes. In this video, I outline 5 of the main pitfalls that C programmers may fall into.
Bear in mind that I have lots and lots of in-depth videos on C on my channel. Here I give links to some of the lessons that will help you explore the perils and pitfalls of C in greater detail.
====================
PLAYLISTS
====================
To watch other videos about “low level programming”, go to the “Down To The Metal” playlist:
https://www.youtube.com/playlist?list=PLZHx5heVfgEt8Ynevr3OX9UBKLPXdSMGM
Also, my series on “Programming C in Visual Studio”:
https://www.youtube.com/playlist?list=PLZHx5heVfgEvL826uk3DeeUy1QiP7nrIs
Recursion (and Stack Frames)
https://www.youtube.com/playlist?list=PLZHx5heVfgEv3ihSVlwL8i-Bar-1ml_wY
====================
TOPICS
====================
Here are links to videos that explore in depth a few of the topics mentioned only briefly in this video:
ARRAYS
https://www.youtube.com/watch?v=H18yIPSsgLg&list=PLZHx5heVfgEt8Ynevr3OX9UBKLPXdSMGM&index=7
https://www.youtube.com/watch?v=bFAO99USrYI&list=PLZHx5heVfgEt8Ynevr3OX9UBKLPXdSMGM&index=8
https://youtu.be/1o5d0TnUxyU?si=EUGozQc23Cdl6b2l
POINTERS & POINTER ARITHMETIC
https://youtu.be/HfQTXWEcTUQ?si=-XtzYZgMua88FodO
https://www.youtube.com/watch?v=ocOFKb6V6XE&list=PLZHx5heVfgEt8Ynevr3OX9UBKLPXdSMGM&index=9
BUFFER OVERFLOWS
https://www.youtube.com/watch?v=4dbGD2nKx6k&list=PLZHx5heVfgEvL826uk3DeeUy1QiP7nrIs&index=8
STACK CORRUPTION
https://www.youtube.com/watch?v=X7uj_uGTOfk&list=PLZHx5heVfgEvL826uk3DeeUy1QiP7nrIs&index=9
PROGRAMMING BOOKS
====================
If you want to learn programming in more depth (and also support this channel!) you might think of buying one of my books. I have written books on C programming, Using Pointers in C, Recursion and other programming topics. You can buy my books (paperback or Kindle) on Amazon.
*** The Little Book Of Pointers ***
Amazon (US) https://amzn.to/2LF2aVb
Amazon (UK) https://amzn.to/2FViSvS
*** The Little Book Of C Programming ***
Amazon (US) https://amzn.to/2RXwA6a
Amazon (UK) https://amzn.to/2JhlwOA
“CODE WITH HUW” ON TWITTER:
=================================
https://twitter.com/codewithhuw
“CODE WITH HUW” ON FACEBOOK:
=================================
https://www.facebook.com/CodeWithHuw
Good luck! And good programming!