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

    Lions and Tigers and Pointers, oh my!   [Lounge]
     
    I’ve been spending time at SO again lately (dunno why) and I am again impressed by how confused people get by the idea of pointers. It really doesn’t seem to...
    [19 replies] Last: [quote=keskiverto]What else have I forgotten? Nothing. Pointers are e... (by Duthomhas)
    About standard strings in Linux?   [UNIX/Linux Programming]
     
    I'm new to Linux dev, so far I've been mostly writing Win32 applications where `char` is `ANSI` and `wchar_t` is UNICODE. But I see under Linux the default i...
    [8 replies] Last: @kigar64551 I'm very grateful for your sample code and mention of icon... (by malibor)
    by Cplusc
    Inconsistent Results with Different Methods   [General C++ Programming]
     
    I’m facing an issue in a C++ project where two different methods for computing the same values are giving inconsistent results, despite both using the same inpu...
    [16 replies] Last: Hi Cplusc, I hope all is well at your end :+) Sorry for an even late... (by TheIdeasMan)
    Assigning CMYK values into a pixel   [Windows Programming]
     
    Hi, I'm working on a project that manipulating images pixel by pixel with C# forms. Now the turn is color space convertions. We extracted the values out of an R...
    [2 replies] Last: I think implementing the conversion between the RGB and CMYK color mo... (by bydrachen)
    How does CFile::Openassigns to pErros->m_cause the value CFileException::none?   [Windows Programming]
     
    I have analyzed an older application and tracing an error to this MFC class function. In some versions of Windows 10 and earlier version of Windows this method ...
    [no replies]
    Threading   [General C++ Programming]
     
    Hello everybody, long time no post. My posts have been sporadic at best lately, but hopefully, this one will gain some traction and be helpful to many who find ...
    [18 replies] Last: Not that it really matters your link lists different authors for the ... (by seeplus)
    Finally switched to Linux Mint (1,2,3)   [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...
    [45 replies] Last: Don’t archive me yet. (by Duthomhas)
    by stav
    which one of these bytecode instruction designs is better?   [General C++ Programming]
     
    I've been going down a bit of a rabbit hole trying to figure out the most optimal way to design a bytecode instruction class. To be clear an instruction is som...
    [6 replies] Last: Its very good to know, as tables are very fast and you can often use t... (by jonnin)
    C++ Questions (1,2,3,...,10,11,12,13)   [Beginners]
     
    1) Why does "&myChar " act differently in 2 different contexts? [code] char* pointer = &myChar[0]; //ALSO WORKS!!! [/code] Above, it actually return th...
    [246 replies] Last: I agree with the search fiasco and the current state, but it does leav... (by SubZeroWins)
    Why are there multiple multithreading frameworks?   [General C++ Programming]
     
    In my learning, I've come across several multi-threading frameworks. I know the language didn't officially provide thread support until C++11 and that some thre...
    [8 replies] Last: PS. There's also: Intel Threading Building Blocks https://www.intel.co... (by seeplus)