• 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 Cplusc
    MPI Blocking and Non_Blocking Communication   [General C++ Programming]
     
    I'm currently working on a lattice Boltzmann code (D3Q27) employing MPI for parallelization. I've implemented MPI 3D topology for communication, and my code sni...
    [3 replies] Last: @mbozzi Thank you. I believe this is the problem, and it's quite a foo... (by Cplusc)
    by Cplusc
    DFS and DLS Algorithm   [General C++ Programming]
     
    I am supposed to write a C++ code to answer the following questions but before that I need to be able to answer the questions on paper to write the correct code...
    [13 replies] Last: I appreciate all your words :) Thank you! Graphs are actually one th... (by jonnin)
    Container questions (1,2,3)   [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...
    [50 replies] Last: Thanks. Yes, sorting can be different for different containers and I ... (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...
    [8 replies] Last: Second, I learned about circular buffer. I wonder if it is suitable ... (by kigar64551)
    what is the epoch of pseudo-clock local_t?   [General C++ Programming]
     
    I created an empty time point that represents epoch time: auto tse = chr::time_point<chrono::local_t, chrono::duration<int, ratio<1, 1>>>{}; [/code] w...
    [2 replies] Last: Internally, tse[/tt] stores a duration since the Unix epoch. https:... (by mbozzi)
    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. ...
    [2 replies] Last: @Keskiverto Thanks for the answer. (by Cplusc)
    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...
    [25 replies] Last: Unlike MacOS or Windows there are more than one option available for ... (by jonnin)
    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)
    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)