Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.17 KB

File metadata and controls

32 lines (24 loc) · 1.17 KB

GIT Commands git init → start tracking git add → select files git commit → save snapshot git remote add → connect GitHub git push → upload

GDB Commands List breakpoints - info breakpoints Delete all - delete Delete one - delete Disable - disable Enable - enable next - go to next line step - go inside function continue - run till next breakpoint print var - print variable bt -show call stack

Newly Learned Stack

  1. 🧠 One-line memory trick private constructor → “No one can create me” delete copy → “No one can duplicate me” getInstance() → “Only way to access me”

  2. SINGLETON “A Singleton ensures a class has only one instance and provides a global access point while preventing copying and assignment.”

  3. EXTERN 👉 “This variable exists somewhere else — trust me”