Programming Languages
Tutorials on Python, C, C++, Java, JavaScript, TypeScript, Go, R and Haskell — from beginner syntax to advanced techniques.
Chapter 10: Expressions
After completing this chapter, you will: Master C++ expression syntax and semantics Understand operator precedence and associativity Learn about type conversions in expressions Master arithmetic, logical, and relational
Read article →Chapter 11: Functions
After completing this chapter, you will: Master function declaration and definition Understand parameter passing mechanisms Learn function overloading and templates Master constexpr and inline functions Understand functi
Read article →Chapter 12: Function Objects
After completing this chapter, you will: Master function objects (functors) and their uses Understand lambda expressions and closures Learn about function adapters and binders Master STL function objects and predicates U
Read article →Chapter 13: Exception Handling
After completing this chapter, you will: Master exception handling patterns (try, catch, throw) Understand exception safety guarantees Learn RAII and exception safety Design error-safe programs Understand exception propa
Read article →Chapter 14: Namespaces
After completing this chapter, you will: Master namespace declaration and usage Understand namespace scope and visibility Learn about namespace aliases and using declarations Master nested and anonymous namespaces Unders
Read article →Chapter 15: Source Files and Programs
After completing this chapter, you will: Master header and source file organization Understand compilation and linking process Learn about header guards and includes Master linkage and storage duration Understand program
Read article →Chapter 6: Types and Declarations
After completing this chapter, you will: Master C++ fundamental types and type system Understand variable declarations and definitions Learn scope, lifetime, and initialization Master type conversions and casts Understan
Read article →Chapter 7: Pointers, Arrays, and References
After completing this chapter, you will: Master pointers and pointer arithmetic Understand arrays and array decay Learn references and const references Master dynamic memory management Understand RAII principles Learn sm
Read article →Chapter 8: Structures, Unions, and Enumerations
After completing this chapter, you will: Master user-defined types (struct, enum, union) Understand type-safe enums (enum class) Learn when to use each type Master initialization and member access Understand memory layou
Read article →Chapter 9: Statements
After completing this chapter, you will: Master all C++ control flow statements Understand statement syntax and semantics Learn when to use different control structures Master nested and complex control flows Understand
Read article →🩷 Part II – Basic Facilities (Chapters 6-15)
After completing this section, you will: Master C++ type system and declarations Understand pointers, arrays, and references Learn memory management and RAII principles Master control flow and function design Understand
Read article →🧾 Text Parser Project - Part II Capstone
This text parser project demonstrates all concepts learned in Part II of the C++ curriculum: Advanced type system and declarations Memory management with pointers and references Exception handling and error recovery Modu
Read article →💙 Advanced Projects - Part IV
These advanced projects demonstrate mastery of the C++ Standard Library and showcase real-world applications of STL, concurrency, and advanced programming techniques.
Read article →Chapter 30: STL Overview
After completing this chapter, you will: Understand the Standard Template Library (STL) organization Learn about containers, algorithms, and iterators Master the iterator concept and categories Understand generic program
Read article →Chapter 31: STL Containers
After completing this chapter, you will: Master all STL container types and their characteristics Understand when to use each container type Learn about container adapters and their usage Master iterator categories and c
Read article →Chapter 32: STL Algorithms
After completing this chapter, you will: Master the STL algorithm library and its categories Understand non-modifying sequence operations Learn about modifying sequence operations Master sorting and searching algorithms
Read article →Chapter 33: Iterators and Ranges
After completing this chapter, you will: Master all iterator categories and their characteristics Understand iterator concepts and requirements Learn about range-based for loops and views Master iterator adaptors and uti
Read article →Chapter 34: Concurrency
After completing this chapter, you will: Master thread creation and management Understand synchronization primitives Learn about atomic operations and memory ordering Master async programming with futures and promises Un
Read article →Chapter 35: I/O and File Handling
After completing this chapter, you will: Master stream I/O operations Understand file input and output Learn about string streams and formatting Master binary file operations Understand I/O error handling and exceptions
Read article →Chapter 36: Regular Expressions
After completing this chapter, you will: Master regular expression syntax and patterns Understand std::regex and related classes Learn about pattern matching and replacement Master regex performance optimization Understa
Read article →Chapter 37: Memory Management and Smart Pointers
After completing this chapter, you will: Master modern C++ memory management techniques Understand smart pointer types and usage Learn about custom deleters and allocators Master RAII and exception safety Understand memo
Read article →Chapter 38: Utilities
After completing this chapter, you will: Master utility classes and functions Understand std::pair and std::tuple Learn about std::optional and std::variant Master std::any and type erasure Understand utility algorithms
Read article →Chapter 39: Strings and String Views
After completing this chapter, you will: Master std::string and string operations Understand std::string_view and its benefits Learn about string algorithms and transformations Master string formatting and conversion Und
Read article →Chapter 40: Locales and Internationalization
After completing this chapter, you will: Master locale concepts and usage Understand internationalization (i18n) techniques Learn about character encoding and Unicode Master locale-specific formatting Understand cultural
Read article →