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

    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
    [23 replies] Last: thanks George P I will not upload a picture again :) Thanks seeplus m... (by Hawlong)
    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 *" ...
    [7 replies] Last: Yes, that is a warning, "return value ignored", that IMO can be ignore... (by George P)
    TEXT like behavior of the function?   [General C++ Programming]
    I have a lengthy function that is bloated because there doesn't seem to be a way to assign generic string with string literal on same line. example: #include ...
    [5 replies] Last: Awesome solution and no performance penalty, I like it! Macros again s... (by malibor)
    How much attention do pay to coding style? (1,2)   [Lounge]
    I would like to hear from you how much attention do you pay to the following: 1. Coding style - ex. naming convention, symbol casing and similar subjective ...
    [27 replies] Last: I can see running a linter on the codebase at a set period -- say once... (by George P)
    by anup30
    print the content of your program's source file to console, without user inputting the file name or giving it in source.   [Beginners]
    print the content of your program's source file to console, without user inputting the file name or giving it in source. the main problem here is getting the...
    [11 replies] Last: If it had ^^ instead of ^^^ teeth I would a vampire but I hope JLBorge... (by malibor)
    Why is cin not working after loop?   [Beginners]
    Hi everyone! so I have an issue I cannot figure out, basically when I simulate eof using ctrl + d the second use of cin is never used and skipped over, I have a...
    [3 replies] Last: Thanks seeplus for the help with this! I really like the idea of using... (by Dakiller)
    trick with type_identity_t   [General C++ Programming]
    Hi, I do not understand the following code: template<typename From, typename To> concept ConvertsWithoutNarrowing = requires (From && x) { std::type_identi...
    [2 replies] Last: type_identity_t<To[]>[/tt] is used here to satisfy an arbitrary restr... (by mbozzi)
    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...
    [12 replies] Last: Of course it's allowed. They're the same thing.[/i] (Or at least, i... (by MikeyBoy)
    Problemen logging in.   [Lounge]
    Both on my laptop and my tablet I have tried to log in, using Firefox. In both cases I see the login dialog flashing by and then a page returns with a '0' in th...
    [4 replies] Last: FYI, the 'new and enhanced' current version served up as default is sh... (by George P)
    std::compare_three_way not compiling   [General C++ Programming]
    Hi, I have this code: template<typename T> struct Value { T val{}; auto operator<=>(const Value& rhs) const noexcept(noexcept(val<=>val)) { ...
    [6 replies] Last: cppreference has excellent examples on how to use C++ stdlib functiona... (by George P)