• 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:

    Use C++ 20 with Embarcadero   [General C++ Programming]
     
    I have been using C++ builder for some C projects. It works really well. However, I have been trying to run some code from a tutorial I want to follow and I get...
    Mar 17, 2025 at 4:00am
    [1 reply] : https://docwiki.embarcadero.com/RADStudio/Athens/en/12_Athens_-_Releas... (by salem c)
    Call of Templated Function w/ Explicit Template Argument Fails to Compile   [General C++ Programming]
     
    greetings kind regards may i please enquire why compiler reports error for code below as indicated . thank you kindly template<typename T, typename U> voi...
    Mar 15, 2025 at 10:20pm
    [1 reply] : The meaning of the name _T.aaa[/tt] depends on the template parameter... (by mbozzi)
    I wrote a cron job!   [Lounge]
     
    This is a continuation of Finally switched to Linux Mint[/b] (https://cplusplus.com/forum/lounge/285724/[b][/b]). Mint, by default, is constantly popping up n...
    Mar 15, 2025 at 6:02pm
    [12 replies] Last: my early work was in unmanned air vehicles. We had sims, of course, a... (by jonnin)
    Random Story Time   [Lounge]
     
    I once went to McDonalds, waaay back when $5 was expensive, and bought food that totaled something like $6.85. I gave the cashier a five, two ones, and a dim...
    Mar 14, 2025 at 8:29am
    [19 replies] Last: it was a little joke from ancient history. Long ago, there was a made... (by jonnin)
    Formatted Console Log with Datetime   [Windows Programming]
     
    I'm working on a C++11 project that uses console logging (cout) at the moment. I created the following Log method to perform printf-style formatting: // U...
    Mar 12, 2025 at 3:59pm
    [7 replies] Last: If the OP could move to C++20 rather than sticking with using C++11 th... (by seeplus)
    Well, it looks like Mozilla is finally turning Evil™   [Lounge]
     
    Firefox users are getting an updated EULA where Mozilla gets copyright to everything you post online through their browser. https://www.youtube.com/watch?v=E4...
    Mar 11, 2025 at 8:49pm
    [7 replies] Last: Louis Rossmann does good work (I support his right to repair efforts) ... (by zapshe)
    scientific computing - optimize speed   [General C++ Programming]
     
    Greetings, this is a longer thread, so thank you in advance for anyone who takes the time. It might be that no one can help me without sharing the whole github...
    Mar 7, 2025 at 8:53am
    [16 replies] Last: Just leaving this here. https://en.wikipedia.org/wiki/Barnes%E2%80%93... (by salem c)
    why can't I use cout with without iostream   [General C++ Programming]
     
    Basically what the tittle says I wanted to output something so I only included the ostream[/code] library but when I tried to output something with cout ...
    Mar 6, 2025 at 3:48pm
    [5 replies] Last: And then there is <iosfwd>[/tt] (by keskiverto)
    by Ch1156
    Is my understanding of pointers correct?   [Beginners]
     
    So I've been studying pointers and really trying to learn how to use them and how they work, and I feel like I completely understand their use cases now. I...
    Mar 6, 2025 at 7:03am
    [18 replies] Last: Ok groovey, that all makes sense :+D (by TheIdeasMan)
    More unpopular opinions   [Lounge]
     
    Continuing from https://cplusplus.com/forum/lounge/285914/ If you are in a school zone, either early in the morning when students are being dropped off or ...
    Mar 5, 2025 at 6:27pm
    [5 replies] Last: to a degree, that is the issue. Most schools are pretty large complex... (by jonnin)