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

    by kitfox
    How to create white noise random hashing function?   [General C++ Programming]
     
    I'm trying to figure out how to build a random hashing function that emphasizes speed and repeatability. Basically, for input it will have an unsigned int seed...
    Apr 28, 2025 at 8:21am
    [1 reply] : I think you can use any proper hash function[/b] to produce a (pseudo... (by kigar64551)
    by zapshe
    Complacency (1,2)   [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 28, 2025 at 7:31am
    [38 replies] Last: Religious freedom absolutely is under assault — has been for years[/q... (by zapshe)
    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 28, 2025 at 6:19am
    [29 replies] Last: Hey, welcome back! 1. How does your code handle cases where the rati... (by Duthomhas)
    discussion on std::ranges::iterator_t<T> being distinct from T::iterator (and same for begin)   [General C++ Programming]
     
    I recently spent an hour or so on a bug that came down to std::ranges::const_iterator_t<T> sometimes being different from T::const_iterator. For example: === s...
    Apr 26, 2025 at 12:36am
    [no replies]
    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 24, 2025 at 6:38am
    [12 replies] Last: What do you think of the Pattinson Batmans?[/quote] The movie itself ... (by zapshe)
    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 23, 2025 at 3:17am
    [24 replies] Last: > Montana Fish, Wildlife & Parks Bear Identification Course[/b] The m... (by Ganado)
    make: /usr/bin//-g++: No such file or directory   [UNIX/Linux Programming]
     
    Hi I got a vs code environment on my host (ubuntu 22.04), and i want to cross-compile an application for imx8mp board. It worked pretty good intil i insta...
    Apr 21, 2025 at 9:59pm
    [3 replies] Last: Notice here: [b]/usr/bin//-g++[/b] it interpret somehow that the comp... (by kigar64551)
    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)