Quantcast
Channel: User Schwern - Stack Overflow
Viewing all articles
Browse latest Browse all 581

Comment by Schwern on How to test a C pointer for whether it points to a struct

$
0
0
@Addem C lacks the sort of protections you're looking for coming from other languages. You're responsible for making sure data structures are initialized. Instead, use tools such as valgrind and memory sanitizer to detect accidental uses of uninitialized data. Or try a modern systems programming language like Rust.

Viewing all articles
Browse latest Browse all 581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>