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

    NumericUpDown control not displaying a 2byte value   [Windows Programming]
     
    Hi, I am trying to read and load a value from a NUmericUpDown control. For some reason it only works up to a value of 0xFF. I need it to load a 2 byte value...
    Jul 14, 2025 at 4:17pm
    [4 replies] Last: Well, your stacktrace is suggesting that "DKCEditor.Main_Level_Form.Nu... (by Ganado)
    by colt
    No direct rendering when using my own Mesa lib   [UNIX/Linux Programming]
     
    Hi. I build a very simple opengl program. When I link it against the system provided libGL, I get direct rendering. However, when doing the same with my own, bu...
    Jul 13, 2025 at 6:27pm
    [no replies]
    Trade space for time   [Lounge]
     
    I found this interesting: https://www.youtube.com/watch?v=8JuWdXrCmWg
    Jul 10, 2025 at 1:07am
    [5 replies] Last: the process looks a great deal like what I have frequently done to con... (by jonnin)
    Building C++/CLI Project with CMake   [Windows Programming]
     
    Nevermind, I'm going to use MSBuild.
    Jul 7, 2025 at 10:53pm
    [no replies]
    Converting Hex into dec using numeric up down control   [Windows Programming]
     
    Hi, I am trying to write a number to a file in both hex and in decimal. For example Hex 63 and dec 99. In a hex editor the values should be 63 and 99. The g...
    Jul 7, 2025 at 8:30am
    [3 replies] Last: Binary Coded Decimal (BCD) is not decimal. It's stored in it's own for... (by seeplus)
    by Mif
    C programming. "Using #include inside array initialization"   [Beginners]
     
    Hello again.. I just want to know if the syntax bellow is valid.. I tried to initialize an array with a file instead where are defined some assets, but I get an...
    Jun 25, 2025 at 1:31pm
    [16 replies] Last: Yup.. it is. Okay this being said.. I'll pass over and mark this as so... (by Mif)
    Euler Angle Compression   [General C++ Programming]
     
    I realize this is probably more of a math question than C++ question but I figured I might as well try asking here too since it is in the context of a C++ tool,...
    Jun 22, 2025 at 2:32am
    [2 replies] Last: It looks to me like the rotations are simply discarding a coordinate f... (by Duthomhas)
    Cylic inclusion and forward declaration and template issue.   [General C++ Programming]
     
    Hi, I've two classes (Server and Network) which have a template function defined in the .h file because we must define template function to header files. The p...
    May 27, 2025 at 8:37pm
    [3 replies] Last: For others interested, here was my original example now split into mul... (by Ganado)
    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 ...
    May 23, 2025 at 7:37am
    [14 replies] Last: Perhaps a case of "Better, but still not good."[/i] (A phrase used by... (by keskiverto)
    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...
    May 14, 2025 at 11:28am
    [25 replies] Last: Future story coming. Just don’t want the topic to close yet. (by Duthomhas)