• 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,3)   [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...
    [41 replies] Last: Like I said, it's the type of nonsense dynamic language fanatics say.... (by zapshe)
    My Shockwave Flash Projector   [Windows Programming]
     
    Thought I would release my flash projector and compiler :D now open source version released on GitHub, along with a release build Build: Visual Studio 2005 Wi...
    [no replies]
    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...
    [6 replies] Last: @Peter87, I am cognizant of the how and why of the differences in lamb... (by George PlusPlus)
    Would like some testers please   [General C++ Programming]
     
    Sorry is this is the wrong forum. If possible I would like someone to try out my program. It works for me but I want to know if it works for other people. ...
    [7 replies] Last: Im out, I only game on PC... but good luck with it.[/quote] Same here... (by George PlusPlus)
    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...
    [5 replies] Last: True.. having the mistake hold me hostage until 6am in the morning is ... (by highwayman)
    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)