Content-Length: 256288 | pFad | http://github.com/SuboptimalEng/cpp-tutorials/tree/main/026-size_t

ad cpp-tutorials/026-size_t at main · SuboptimalEng/cpp-tutorials · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Video Overview

  • What's wrong with using int?
    • How large is size_t compared to int?
    • Vec.size() returns size_t
    • size_t is system dependant (unsigned long)
  • How to correctly use size_t?
  • What can go wrong with size_t?
  • How to fix size_t issue?
  • What does this look like in practice on vector?

Titles

  • Stop Using int for C++ Loops: The size_t Rule

  • Why do Senior C++ Engineers use size_t over int?

  • int vs size_t: The Bug You Didn’t Notice

  • How size_t Actually Works: A Systems Programmer’s Guide

  • Why do Senior C++ Engineers always pick size_t over int?

  • Why does size_t exist in C++ and when does it break?

References

  • ChatGPT and Gemini








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/SuboptimalEng/cpp-tutorials/tree/main/026-size_t

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy