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

    by tonic
    Any Info about Kbw ?   [Lounge]
     
    Hello Guys, I wanted to ask does anybody know kbw ? i mean personally, it seems like he isnt writing here either, I used to write him once a year per email, a...
    [5 replies] Last: The time to write the script probably isn't worth it lol Still waitin... (by zapshe)
    by zapshe
    ChatGPT is too smart   [Lounge]
     
    At this point, the AI training I'm doing is, "Ha, ChatGPT couldn't even 1 shot produce PhD level research!" Not even exaggerating. Work that would take a true-...
    [3 replies] Last: If you give a deck of cards a good shuffle right now, no cheating or b... (by newbieg)
    Declaring an initializer class list with classes that are circular dependent   [General C++ Programming]
     
    I've really tried to make this work without using pointers. I want to create a shared class where two classes "see" each other and share this object. I want...
    [4 replies] Last: Yes, if a class contains a reference to something else as a data membe... (by Ganado)
    sorting an integer array   [General C++ Programming]
     
    hello everyone, im new here trying to learn c++, i wrote a code to sort array but the out put always be like this [10, 1, 2, 3, 4, 5, 6, 7, 8, 9] i can't move 1...
    [14 replies] Last: I use VS 2022 (not code). If you're getting an error with std::size t... (by seeplus)
    Winsock2: Upon partial transmission, does nonblocking send() retry until success or abandon?   [Windows Programming]
     
    I'm using send() with nonblocking sockets and wanted to know how to interpret its return value. According to , the return value is the number of bytes already ...
    [2 replies] Last: If the return value is not SOCKET_ERROR, then only the returned number... (by seeplus)
    convert a std::string to const char*   [General C++ Programming]
     
    i use this code working good const char* SPattern{ "\x55\x00\x00\x00\x00\x00\x00\x00\x57" }; const char* SMask{ "x???????x"}; char* geta...
    [6 replies] Last: I'm not working off complete information since I don't know what memor... (by Ganado)
    Winsock2: How to unblock from a blocking 'connect' call?   [Windows Programming]
     
    I'm developing a C++ app that uses a company "Socket" library (call it XSocket). XSocket uses Winsock2 underneath the hood and the API only allows use of a bloc...
    [4 replies] Last: I've decided not to use my company's library, which just wraps Winsock... (by ElusiveTau)
    by L67GS
    Return RMS volume of an mp3?   [UNIX/Linux Programming]
     
    I've been looking for this for 2 days, and found a few command line tools to retrieve the level of an mp3, but nothing I can easily return a value from. I'm sta...
    [5 replies] Last: Instead of using a temporary file, you may want to have a look at pop... (by kigar64551)
    He’s dead, jim. (1,2)   [Lounge]
     
    [sup]So very sad. I really enjoyed this forum.[/sup][/sub]
    [23 replies] Last: There is a place for sure. That isn't the issue. This one won't let ... (by jonnin)
    Increasing Size of Vector (1,2)   [General C++ Programming]
     
    HI, I need to increase the size of my vector. However the program crashes. How do I increase the size and prevent it from crashing. Below is the vector in ques...
    [29 replies] Last: 2) "make them static or move their definition to be before main()." [... (by seeplus)