#Cpptips:
✅ Analogy
⚫️Multitasking: Multiple chefs (processes) in separate kitchens (memory) cooking different dishes.
⚫️Multithreading: Multiple chefs (threads) in the same kitchen working on the same dish in parallel.
#cpp
C++ Trivia ⚡:
Did you know std::unordered_map has O(1) average lookup…
…but can degrade to O(n) if you’re unlucky?
👉 Always keep an eye on hash collisions.
#CppTips#DSA
Size of Array
1/ sizeof(array) returns total bytes occupied by the array.
2/ Dividing by sizeof(elementType) gives number of elements.
3/ Example: sizeof(marks) / sizeof(int) returns count of elements in marks.
#CppTips#Arrays#Memory
C++Builder 12.2 Tip #7: Master bcc64x!
Uncover essential tips for faster compile times, better memory debugging, and parallel compilation.
Link in comments.
#CppBuilder#RADStudio#CppTips
📘 Todavia usas typedef en C++?
¡Va siendo hora de evolucionar! #cppTips
🤔 Usa USING para alias de tipos
✨ Más claro y flexible
✨ Sintaxis moderna y consistente
✨ Sin las limitaciones de typedef
¿Como se hace?
Ejemplito que te va 👇