Blog
-
C++ File Operations | 'File Operations' Guide
A guide to C++ file operations covering ifstream/ofstream, binary vs text mode, and error handling with practical code examples.
-
C++ File Status | 'File Status' Guide
C++17 std::filesystem file_status·perms, status and symlink_status, file_type·permission checks, backup·log cleanup practice, Windows and POSIX.
-
C++ Filesystem Explained | std::filesystem (C++17) guide
std::filesystem (C++17) handles paths, directories, copy, and delete in the standard library.
-
C++ Flyweight Pattern | Save Memory with Sharing
C++ Flyweight Pattern.
-
C++ Fold Expressions | 'Parameter Pack Folding' Guide
How C++17 fold expressions collapse a parameter pack into a single expression, with unary and binary forms and where they replace recursive templates.
-
C++ Forward Declaration: Reduce Includes, Break Cycles,
Forward-declare classes and functions when pointers/references suffice.
-
C++ friend Keyword: Access Control, Operators,
friend functions and classes grant access to private and protected members.
-
C++ Functions: Parameters, Return Values, Overloading,
Complete C++ function guide for beginners: declaration vs definition, pass by value/reference/pointer, return rules, RVO, default arguments.
-
C++ function objects | Functors· operator
What functors are, stateful vs function pointers, STL algorithms with predicates, comparison functors, and std::function overhead vs templates.
-
C++ Function Overloading: Rules, Ambiguity, and Name
Learn C++ function overloading: same name, different parameters. Resolution rules, common ambiguities, default arguments, and how it ties to name mangling.