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

    PNG File Reader (1,2)   [General C++ Programming]
     
    I have been on a quest to write some kind of PNG file reader, mostly just for myself, and I was wondering if there is any good resources on how to do binary fil...
    Apr 16, 2025 at 1:32am
    [23 replies] Last: This looks crazy goooood! Thx a lot Duthomas[/b] for ur painstaking, ... (by geeloso)
    by zapshe
    Complacency   [Lounge]
     
    We're here at the last chance for him to turn back. We all know defying their decision, especially being 9-0, is the hill he wants to die on. He's installed his...
    Apr 15, 2025 at 9:44pm
    [no replies]
    Random Story Time (1,2)   [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...
    Apr 15, 2025 at 3:30pm
    [21 replies] Last: Very good find. However if I am close enough to tell the difference i... (by jonnin)
    by chipp
    what happened to this forum?????   [Lounge]
     
    it seems like it became veeeery quiet in here[/b] [b]what happened?????[/b] are we have another new forum or something...?
    Apr 15, 2025 at 7:19am
    [6 replies] Last: apart from these, this forum is on a blacklist at most active c++ site... (by jonnin)
    by chipp
    insecure connection??   [Lounge]
     
    i've been inactive on this web for soooooooo long[/b] and when i wanna check in to this web before, there's a warning that says this web has insecure connectio...
    Apr 13, 2025 at 7:48pm
    [6 replies] Last: @salem: ic... actually, the warning my browser displaying before is wh... (by chipp)
    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...
    Apr 8, 2025 at 1:38am
    [8 replies] Last: Just started reading bits an pieces of "C++ Coding standards" by Sutte... (by ElusiveTau)
    Logging Wrong Line Number   [Beginners]
     
    I'm working with C++17 or prior. I'm writing a custom logger class (I don't have access to a logging library) and have an issue with the following use case. ...
    Apr 6, 2025 at 9:13pm
    [5 replies] Last: [quote=kigar64551]#ifdef CUSTOM_LOGGER #ifdef CUSTOM_LOGGER # define ... (by ElusiveTau)
    I wrote a cron job! (1,2)   [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...
    Apr 4, 2025 at 11:14am
    [25 replies] Last: Someone did wrote a news piece for April 1st about "one common package... (by keskiverto)
    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 ...
    Apr 4, 2025 at 5:40am
    [8 replies] Last: Nah, that’s just part of learning how to drive. And cars with Japane... (by Duthomhas)
    MSVC Solution and C1011 Error   [Windows Programming]
     
    MSVS Community Edition, v17.12.5 (latest), Win10 (latest), 64-bit I've raised an issue with MS, but after their acknowledging that they've replicated the probl...
    Mar 28, 2025 at 4:47am
    [3 replies] Last: did you try using #include instead? I know you may not want to, but m... (by jonnin)