• home

Tutorials

  • C++ Language: Learn this versatile and powerful programming language. Includes detailed explanations of pointers, functions, classes and templates, among others...
  • Reference

    Description of the most important classes, functions and objects of the Standard Language Library, with descriptive fully-functional short programs as examples.
    Browse the C++ Reference

    Articles

    User-contributed articles, organized into different categories.
    You can contribute your own articles!
    Browse Articles

    Latest forum activity:

    New Safe C++ Proposal (1,2)   [Lounge]
     
    There is now a Safe C++ proposal that extends C++ by defining a superset of the language that can be used to write code with strong safety guarantees. See: htt...
    [26 replies] Last: You just lack experience. You've not spent enough time debugging broke... (by helios)
    Calling assembly code from C++   [UNIX/Linux Programming]
     
    So I've been trying to figure out how I'd write a little function in assembly and then call it from C++, and so far I've been able to call the function and it d...
    [4 replies] Last: such a silly mistake[/quote] We've all been there, done that, got th... (by seeplus)
    Lambda Expression: Specifying "this" in the capture clause   [Beginners]
     
    I'm reading an article on how to use lambda expressions and have some questions: 1. What is meant by "Only variables that are mentioned in the lambda body a...
    [5 replies] Last: Embedded programming is not something I am interested in, if I were I'... (by George PlusPlus)
    Fox-Star Search Fun   [Lounge]
     
    A recent question asked about the A* Search algorithm (https://cplusplus.com/forum/beginner/285875/#msg1243408 [/b]), something I had never messed with, so I de...
    [19 replies] Last: Its like how calc teachers force you to learn that derpy division de... (by seeplus)
    _Safe_add checks for overflow but does not do anything to report the problem!   [General C++ Programming]
     
    Looking at VC++ source files I find in ratio the following: what is the purpose of _Safe_add_integer_arithmetic_overflow_error? inline void _Safe...
    [5 replies] Last: Neat example, thanks. (by Ganado)
    How to use C++ like modules in Arduino   [Lounge]
     
    Hello everyone, I recently came across this thread on How to use modules in C++[/b] posted on the forum by @[quote]frek[/quote] dated June 7, 2022. Please, ...
    [9 replies] Last: I think current Arduino complier does support standard C++14 and C++1... (by George PlusPlus)
    WinForms Resources, Moved Files   [Windows Programming]
     
    I'm working on a WinForms CLR project and I'm using VS 2022. All was well until I created new folders and moved files - everything was in the base project folde...
    [8 replies] Last: If you use source control[/quote] Not everyone uses that, I know for ... (by George PlusPlus)
    Specifying a file address?   [Beginners]
     
    Hi, I am getting an error when trying to specify a file path for my program. It says "failed to open file for writing". I searched around google but couldn't f...
    [8 replies] Last: seeplus already mentioned about the <format>[/tt] library in C++20, a... (by George PlusPlus)
    FTXUI   [Lounge]
     
    While bumping around in the available vcpkg libraries early this morning I ran across one that looks IMO rather interesting, a terminal UI package: https://g...
    [no replies]
    templates class friends strong types   [General C++ Programming]
     
    Hello all, first a bit of background. Land Surveying involves many types of: Angles, Bearings; Distances; Co-ordinates; and there are many types adjustments ...
    [8 replies] Last: I read Jonathon Boccara's blog[/quote] That article is from 2016, C++... (by George PlusPlus)