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

    Do this you will become millionaire not even kidding... (1,2)   [Lounge]
     
    Hello, I have ADHD I searched over 100 programs for task management and all missing one or more core features (which are logical and if you already make progra...
    [22 replies] Last: No one is hated more than the one who speaks the truth - Plato. (by empleat)
    C++20's std::format is so picky   [General C++ Programming]
     
    Well, Visual Studio 2022's implementation of std::format is picky. The following compiles without even a twitch: import <iostream>; import <format>; in...
    [10 replies] Last: I was really talking about the diagnostic messages. I had forgotten s... (by mbozzi)
    by oddy
    How can I run a Unix Shell script Under Windows?   [Windows Programming]
     
    As the title, I have the source code of GCC, and I am going to build GCC using it. However, as everyone knows, script configure[/code] is a Unix Shell script, ...
    [5 replies] Last: How long before Eathan turns his vague post into one to show a spam li... (by George P)
    Need a help slicing 2D vector   [Beginners]
     
    Hello everyone, I need a help slicing a 2D vector. I guess it is easy but since I am complete beginner I could nout achieve to sclice them. I have one 1D vecto...
    [4 replies] Last: std::slice doesn't work on a vector, only on a valarray: https://en.cp... (by George P)
    Detect the "order" (arrangement) of an array   [General C++ Programming]
     
    Suppose you have an array of length n[/b], containing some "random" numbers. There are [b]n![/b] possible orders in which these numbers can be arranged. For ex...
    [2 replies] Last: Maybe something like this? #include <algorithm> #include <iostream>... (by mbozzi)
    How Can I make my Program Faster?   [Windows Programming]
     
    Hi, I have some code for a button Mouse Down Event. When I click the button it takes about 30 seconds before it's code executes. if (listBox1->SelectedInd...
    [1 reply] : My suggestion would be: use struct and array (for fixed size) or std::... (by coder777)
    c++ api32 dispplayDialog   [General C++ Programming]
     
    hallo, C++(ers) I have a problem after making the main int window. the I wane whit a pus of a a button display a other window but is don't show up. LRE...
    [2 replies] Last: the I wane whit a pus of a a button display a other window but is don... (by George P)
    Need Help Compiling GUI C Program using Visual C++ Please   [Beginners]
     
    I need help compiling open source G Predict Satellite Tracking C program using Visual C++ 2022 Community edition please. On Google, searched for Github Gpredic...
    [3 replies] Last: VS has command-line tools available as well as the ability to use CMak... (by George P)
    “Wheel Of Fortune” game CHALLENGE!!!1! (1,2)   [Lounge]
     
    With all the hangman games lately, I thought I’d have some fun. Your challenge, should you choose to accept it, is to produce a nice little word/phrase guessi...
    [20 replies] Last: Console animations have simply never impressed me, so I really don't f... (by zapshe)
    copy constructor and initialization (1,2)   [Beginners]
     
    Greetings! I don't understand why the copy constructor does not work for initializing an object with a return value of a function. Example, a class "person": ...
    [28 replies] Last: @Peter87, @keskiverto thanks that makes it clear. It is interesting ... (by PhysicsIsFun)