I have been creating technical articles for various languages such as C, C++, Python, etc, so scroll down to know the languages I know.
Comparison Topics
C vs C++ (Must Read) *
C++ programming
General
inline functions (Must Read) *
storage class in C/C++ (Must Read)*
Memory Management
mmap() - new/ brk() - delete (Must Read) *
References & Pointers (Must Read) *
const pointer vs pointer to const (Must Read)*
constexpr (Must Read) * - Performance Improvement, computed compile-time
Classes & Abstract Data Structures
Abstract vs Concrete Class (Must Read) *
Special Class Functions, Deep Copy
Constructor vs Destructor (Must Read) *
Virtual Destructor (Must Read *)
Constructor Initialiser List (Must Read) *
Copy Constructor & Copy Assignment Operator (Must Read) *
Inheritance & Virtual Function
Virtual Function (Must Read *)
Dynamic Type or Late Binding (Must Read *)
Operator Overloading & Streams
& operator and sizeof in C++ & Sizeof in C & C++ (Must Read) *
Operator Overloading (Must Read) *
Stream states (Must Read) *
String & stringstream
string overview (Must Read) *
string is uppercase or lowercase (Must Read) * - LAMBDA & algorithm(all_of)
Print stringstream (Must Read) *
Generics/Templates & Exceptions
Exception Handling (Must Read) *
Templates (Must Read) *
Standard Template Libraries STL (Containers, Iterators, Algorithms)
Containers Memory on Heap or Stack (Must Read) *
Unordered Map (Must Read) *
Map to have Vector of strings (Must Read) *
Unordered Set (Must Read)*
set in C++ (Must Read)* - advance C++20
Sort the vector of class entities (Must Read) * - operator< and tie
Sort the characters in a string(string) using sort (Must Read) *
Get a char(arr) from word(string) using c_str() (Must Read) *
Smart Pointers, Function Objects and Lambdas
raw pointers (Must Read) * - first two points are important
Shared_ptr (Must Read) *
Lambda, free function, member function (Must Read *)
Unique Pointer - make_unique(C++14) & unique_ptr
C++ Errors
error: invalid conversion from 'Army*' to 'ArmyHospital*'
Cannot convert pointer to base class
request for a member which is of non-class type
Call of overloaded function is ambiguous
too many initialisers
error: is private
error: new types may not be defined in return type
Unit Testing
C++ Automation Testing Framework - Catch2
C programming
General
Does an empty string ("") hold an address ?Time (in secs/micro-secs) Calculation for the given program
sscanf (Must Read) *
Endianness of the program (Must Read) *
Return Value of recursion
Printing Macro Constants (#define) (Must Read) *
Difference between signed and unsigned (Must Read) *
Difference between char * and int* (Must Read) *
Purpose of Union
Click here -> Doubly Linked List
Header Guards
C Errors
Linked List
Click here -> Singly Linked ListClick here -> Doubly Linked List
Tree
Click here -> BST using recursive programming (Must Read) *Pointers and Array
Array of Integer Pointers
Bits & Bytes
Header Files
Purpose of Header File (.h)Header Guards
Quick Sorting - The effective sorting algorithm
Strings
Write your own strtok() in C (Must Read) *
NULL Checks
Makefile
Make file (Must Read) *Scope of Variables
Storage class in C/C++ (Must Read) *
Static & Extern Variables (Must Read) *C Warnings
format ‘%X’ expects > argument of type ‘unsigned int *’, but argument 3 has type ‘unsigned > char *’Simple Programs
Check whether given mac address is valid or notCheck whether given mac address is multi-cast mac or not
Count the numbers larger than given number in a sorted array or Quick Sort
GDB Debugging
GDB Conditional Debugging (Must Read) *Process Hanging (Must Read) *
Comments
Post a Comment