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

    Why are there multiple multithreading frameworks?   [General C++ Programming]
     
    In my learning, I've come across several multi-threading frameworks. I know the language didn't officially provide thread support until C++11 and that some thre...
    [5 replies] Last: Thanks all for your inputs. I think I have a course of action now. 1... (by ElusiveTau)
    Happy (belated) 60th birthday Basic!   [Lounge]
     
    https://arstechnica.com/gadgets/2024/05/the-basic-programming-language-turns-60/ My first introduction to programming was using HP's version of Dartmouth Bas...
    [12 replies] Last: I had a C=128, a souped-up version of C=64, several C=1541 floppy driv... (by George P)
    by Cplusc
    Inconsistent Results with Different Methods   [General C++ Programming]
     
    I’m facing an issue in a C++ project where two different methods for computing the same values are giving inconsistent results, despite both using the same inpu...
    [14 replies] Last: Ok, groovey :+) Care to share what it was? (by TheIdeasMan)
    by helios
    About full-duplex sockets   [General C++ Programming]
     
    Sockets are supposed to be full-duplex, right? So the endpoints should be able to send and receive literally at the same time. But how do you handle that at the...
    [1 reply] : I'm not even sure what API you are using here 🤔 But, if we are talki... (by kigar64551)
    functional/monadic extensions of std::expected   [Lounge]
     
    https://www.cppstories.com/2024/expected-cpp23-monadic/ It's C++ - but not as we know it!
    [2 replies] Last: Great. I can’t stand monads. They contaminate everything they touch. (by Duthomhas)
    Daily bit(e) of C++ | Optimizing code to run 87x faster   [Lounge]
     
    https://simontoth.substack.com/p/daily-bite-of-c-optimizing-code-to
    [11 replies] Last: Ah, I misread. IDK. Good question. (by Duthomhas)
    C++ Questions (1,2,3,...,10,11,12,13)   [Beginners]
     
    1) Why does "&myChar " act differently in 2 different contexts? [code] char* pointer = &myChar[0]; //ALSO WORKS!!! [/code] Above, it actually return th...
    [245 replies] Last: The other thing I wanted to say about AI is that for us Ordinary Cats ... (by TheIdeasMan)
    by helios
    Bad Apple!!   [Lounge]
     
    I made a thing. https://www.youtube.com/watch?v=rt5VUOLRues https://github.com/Helios-vmg/spindafy Check out the video I linked in the description or it won'...
    [7 replies] Last: I'm thinking a good strategy is to get a histogram of the selected pat... (by helios)
    Understand internals of std::expected   [Lounge]
     
    https://www.cppstories.com/2024/expected-cpp23-internals/
    [no replies]
    How to use a library of C++ 20 modules from another solution file?   [Windows Programming]
     
    Hi, I have a library of C++ 20 modules which I can use from projects in the same solution but not from projects in another solution. I have instructed the l...
    [3 replies] Last: that may work, but no, I mean pure windows folder management. You sho... (by jonnin)