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

    He’s dead, jim.   [Lounge]
     
    [sup]So very sad. I really enjoyed this forum.[/sup][/sub]
    [12 replies] Last: There was once a time when this was my absolute favorite website. I sh... (by Manga)
    by Ganado
    Pretend my unique_ptr is a reference?   [Beginners]
     
    I have code that looks like this: std::unique_ptr<Foobar> pFoobar = FoobarFactory(); Foobar& foobar = *pFoobar; // fix'd! foobar.Adjuvant(); foobar.Acutance()...
    [1 reply] : I thought of having a wrapper class like this: template<typename T> s... (by Ganado)
    by Ganado
    vscode adds UTF-16 BOM to stdout [Windows]   [Lounge]
     
    Posting in lounge since this isn't directly a C++ issue. Google and GPT-whatever have failed me. In Visual Studio Code, I am attempting to run the .exe I just ...
    [3 replies] Last: Try the above with and without the _setmode() command, and you'll kno... (by Ganado)
    by Ganado
    Access specifiers in nested class   [Beginners]
     
    This is probably a really basic question, but I'm confused by why this code compiles class Foo { public: Foo() : value(100) { } private: class...
    [2 replies] Last: Thanks Peter. (by Ganado)
    by hmoein
    A light and agile thread pool for the masses   [General C++ Programming]
     
    https://github.com/hosseinmoein/Leopard
    [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...
    [4 replies] Last: BCD is just a lookup table. you look up each digit of the number in b... (by jonnin)
    Sorting a listbox   [Windows Programming]
     
    Hi, I want to sort a list box values. Using the sort property. It sort of works but has some bugs. for example this is how it is displayed. Not in order....
    [2 replies] Last: I did a work around... I would really like to figure this out on my o... (by Cyclone)
    by Ganado
    Can't link kissfft library   [Windows Programming]
     
    Hi all, I am on Windows and have built kissfft from https://github.com/mborgerding/kissfft but when I try to build an actual program with it, I cannot get past...
    [2 replies] Last: I think it might be a link order problem. Try re-ordering the command... (by mbozzi)
    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...
    [1 reply] : Late answer, sorry. You need to look through the FAQ (https://docs.me... (by Duthomhas)
    by hmoein
    C++ DataFrame library   [General C++ Programming]
     
    I wanted to introduce the C++ DataFrame -- https://github.com/hosseinmoein/DataFrame -- library in this forum for the first time. C++ DataFrame is a library for...
    [3 replies] Last: I think all of it could fit; https://www.boost.org/doc/libs/1_75_0/doc... (by firedraco)