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

    build systems and code editors\IDE's you use or suggest on Linux?   [UNIX/Linux Programming]
     
    For the last 2 years I'm using VSCode, since my switch to Linux I continue to use it. But there are many pitfalls with VSCode, primarily VSCode is not good f...
    [4 replies] Last: @ malibor[/b] Hi Interesting you have 4KLOC of configuration code, t... (by TheIdeasMan)
    Convert binary to base 58   [Beginners]
     
    I want to convert a long binary number, 256 bits, into a base 58 char array using c code. I cannot find a simple explanation. The Bing tool insists on convert...
    [1 reply] : Start by taking the remainder to find the next digit. Then divide. W... (by mbozzi)
    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...
    [51 replies] Last: That's too complicated for me, I use windows in virt-manager for same... (by keskiverto)
    I wrote a strrstr()   [Lounge]
     
    Just because. https://stackoverflow.com/a/78527348/2706707 If I made a major fail I’m sure the nice folks at SO will let me know, so, feel free to roast i...
    [no replies]
    Lions and Tigers and Pointers, oh my! (1,2)   [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...
    [21 replies] Last: Heh heh heh, I remember doing weird stuff poking around memory like th... (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)