• home


  • 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


    User-contributed articles, organized into different categories.
    You can contribute your own articles!
    Browse Articles

    Latest forum activity:

    Can you give me an example of parametric polymorphism   [General C++ Programming]
    Hi, I need a few examples of parametric polymorphism please. Regards, Juan Dent
    [1 reply] : Here's what CoPilot has to say: Certainly! In C++, parametric polymo... (by AbstractionAnon)
    Finally switched to Linux Mint (1,2)   [Lounge]
    Got a new PC (finally) and since it is really nice, modern hardware I am finally making the move from Windows. I liked[/i] Windows 7. Very clean, good OS. Wi...
    [24 replies] Last: While I wrote "RHEL", I actually use AlmaLinux. Practically the same t... (by keskiverto)
    Container questions (1,2)   [Beginners]
    Just read and practiced my vector/deque/list/forward_list/set/multiset containers and I wondered about this one. 1) Why did they make it so that a set is REQ...
    [38 replies] Last: Seeplus, thanks. Looks good for a longer term project. (by SubZeroWins)
    Shared variable between thread(ISR) and main()   [Beginners]
    Hello folks, I want to create a variable that will be shared between a thread (ISR) and main() I am working on embedded environment on linux os Basically...
    [5 replies] Last: Atomic operations[/b] are great for something like a "shared" [i]coun... (by kigar64551)
    by Cplusc
    BSF Algorithm   [General C++ Programming]
    An undirected graph has 24 vertices denoted by A’, B,’ C’, D’, E’, F’, G’, H’, I’, J’, K’, L’, M’, N’, P’, Q’, R’, S’, T’, U’, V’, W’, Y’, and Z’ respectively. ...
    [1 reply] : [code]{'D', {'A', 'K', 'J', 'I'}}[/code][/quote] From D you can reach... (by keskiverto)
    Where to get dictionaries for spellcheck during coding?   [Lounge]
    I'm coding in VSCode and use the extension called cSpell which let's me set custom dictionaries to spell check code, comments and any text in source files. P...
    [5 replies] Last: IDK if SCOWL[/b] would be useful to you. http://wordlist.aspell.net/ (by Duthomhas)
    Visual Studio 17.9 now available   [Lounge]
    Fair warning, to just install[/i] this update requires .NET Framework 4.7.2 or later. Boo!
    [1 reply] : Oops! I forgot the release notes link: https://learn.microsoft.com/e... (by George P)
    by Ch1156
    Collision detection using bit manipulation   [Beginners]
    So while working on a small game I discovered that the usual if statements for collision detection work fine for single directions, but when I had collision in ...
    [12 replies] Last: Using bool and simplified, consider: #include <iostream> #include <... (by seeplus)
    My daughter is awesome II   [Lounge]
    My wife and daughter were sitting on the bed just now, watching New Year's videos, and something flashy came on with apparently kind of cool content. wife: T...
    [2 replies] Last: Well, tonight my daughter and I played a violin duet in public for the... (by Duthomhas)
    Oh, my!   [Lounge]
    Now at least one person is talking about proposed C+++26 features: https://www.cppstories.com/2024/constexpr-number-parsing-cpp23/ I'm still wrapping my b...
    [13 replies] Last: I don't think that's the direction it's going in.[/quote] I know bein... (by George P)