How to Check Your Pointers at Runtime

  Рет қаралды 31,135

Jacob Sorber

Jacob Sorber

Күн бұрын

Patreon ➤ / jacobsorber
Courses ➤ jacobsorber.thinkific.com
Website ➤ www.jacobsorber.com
---
How to Check Your Pointers at Runtime // Have you ever wondered how to check pointers at runtime and keep your programs from crashing? Programmers hate segmentation faults, and while the best way to prevent seg faults is to write clean, correct, error-free code, this video will show you a fun trick that you can use to check your pointers and predict at runtime which pointers will cause a seg fault, and crash your program.
Smallest C Program (pmap, vmmap) - • Using the Smallest C P...
***
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:
www.jacobsorber.com
people.cs.clemson.edu/~jsorber/
persist.cs.clemson.edu/
To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [ / jacobsorber ]
+ rep the channel with nerdy merch --- [teespring.com/stores/jacob-so...]
Source code is also available to Patreon supporters. --- [jsorber-youtube-source.heroku...]

Пікірлер: 127
Easy Networking in C (libcurl)
14:12
Jacob Sorber
Рет қаралды 64 М.
Make your Data Type more Abstract with Opaque Types in C
13:41
Jacob Sorber
Рет қаралды 49 М.
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 10 МЛН
How to make memory read-only in your C programs.
12:57
Jacob Sorber
Рет қаралды 19 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 778 М.
Defining Constants. Should I use CONST or #DEFINE?
7:59
Jacob Sorber
Рет қаралды 56 М.
Can I Handle Exceptions with Try Catch in C? (setjmp, longjmp)
11:13
How does fork work with open files?
13:12
Jacob Sorber
Рет қаралды 9 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 385 М.
541 Leetcode problems are NOT enough.
7:12
Sahil & Sarra
Рет қаралды 158 М.
When do I use a union in C or C++, instead of a struct?
11:18
Jacob Sorber
Рет қаралды 68 М.
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
The Right Way to Check for Null in C#
9:35
Nick Chapsas
Рет қаралды 96 М.