• home


  • 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


    User-contributed articles, organized into different categories.
    You can contribute your own articles!
    Browse Articles

    Latest forum activity:

    Span Vs Vector   [Beginners]
    I occasionally tune into "C++ Weekly" on Youtube, and this is today's video: https://www.youtube.com/watch?v=zCzD9uSDI8c "C++ Weekly - Ep 361 - Is A Better `ma...
    [3 replies] Last: [quote=newbieg]I don't generally use smart pointers, but from my readi... (by Peter87)
    is this ok as a less than operator for a map?   [Beginners]
    I have a map of the following type: struct MyType { size_t layerPos, posInLayer, prevPos; }; std::map<MyType, string> myMap; [/code] ...
    [3 replies] Last: struct MyType { std::size_t layerPos = 0 ; std::size_t posInL... (by JLBorges)
    Electronics: What is meant by goes to ground?   [Lounge]
    Hi guys, I'm experimenting with an Arduino, I feel like it's a good "getting your hands dirty" device when it comes to learning electronics. Before I dive in...
    [10 replies] Last: Electrical circuits work admirably in space even though they are far r... (by againtry)
    by Geckoo
    Gadget   [Lounge]
    https://en.wikipedia.org/wiki/Logic_gate Hello everyone. I am searching for a little gadget - a simple logic gate with some transistors showing how a boolean o...
    [4 replies] Last: A simple/inexpensive gadget would be one made up of a battery and ligh... (by againtry)
    Reading unkown number of bytes from a non-blocking socket   [Beginners]
    Hi, I am trying to learn C++ and my first project is to convert a Basex Client I wrote in R to a C++ client. From the earlier experiences, I know that I hav...
    [19 replies] Last: @kbw With copy-paste I was able to fit the custom readSocket function ... (by Bengbers)
    Multithreading in a dll   [General C++ Programming]
    I wanted to make two functions running in the background at the same time inside dll My dll #include <Windows.h> #include <iostream> DWORD WINAPI MainT...
    [no replies]
    Read / Write Array Of Byte (1,2)   [General C++ Programming]
    Hello all , Please how can read , Array Of Byte (cheat engine). using c ++ (internal) https://i.top4top.io/p_2581t632y1.png
    [39 replies] Last: @GeorgeP: Don't you mean something like this: SimpleClass* obj_p... (by DizzyDon)
    keep getting error   [Beginners]
    keep getting an error, not sure what im doing wrong. I'm running it on visual studio Microsoft. The main errors I'm getting is "argument of type "const char *" ...
    [12 replies] Last: > violating a suggested guideline It is a rule; not a mere guideline ... (by JLBorges)
    Messages associated with custom control not visible in Class Wizard!   [Windows Programming]
    HI, I am using MFC with VS2022. I have a custom control grid and when I create an object of it in a dialog, the possible messages associated with its type ar...
    [2 replies] Last: Thank you jonnin. However we can't add notification messages that are ... (by JUANDENT)
    by Ch1156
    Should smart pointers be preferred over new and delete keywords?   [Beginners]
    Im on chapter 11.9 of learncpp and i see that its going to be teaching about using new and delete, but i heard its better to use smart pointers instead. I can u...
    [2 replies] Last: At least do the basics. An hour or two of your time will help a lot w... (by jonnin)