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

    Turn-based Card Game Feature: Out-of-turn Trade Request   [General C++ Programming]
     
    Just FYI, I haven't written any code for the game. I'm in the planning phase, brainstorming how certain game features might affect the structure/architecture of...
    [2 replies] Last: As I see it, you have three choices ( order of difficulty) 1) The si... (by AbstractionAnon)
    Need a starter project for Visual Studio 2022, C++, multiple dialogs   [Windows Programming]
     
    Need a starter project for Visual Studio 2022, C++, multiple dialogs I cannot get a project started as I need it. Visual Studio 2022, C++, multiple dialogs. ...
    [3 replies] Last: The requirements for this smell a lot like a school/college assignment... (by George P)
    by PeteDD
    Constructor for derived class   [General C++ Programming]
     
    I am adding some methods to the NTPClient by creating a derived class MyNTP. But now, I can't figure out how to invoke the new class. That is, I can't figur...
    [11 replies] Last: Thank you all! @SeePlus, Yes, exactly, thank you! But what you're ... (by PeteDD)
    by PeteDD
    Adding methods to class via derived class   [General C++ Programming]
     
    I am using an NTPClient and want to add a few methods to its functionality. I have no difficulty going into the source of the client and, for example, adding t...
    [1 reply] : solved... but only in part... added "MyNTP::" in .cpp String MyNTP... (by PeteDD)
    new versions of vcpkg don't seem to support classic mode!!   [Windows Programming]
     
    Hi, the latest versions of vcpkg do not seem to support classic mode. I get: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg>vcpkg i...
    [3 replies] Last: Speaking of bugs with vcpkg.... A recent update to vcpkg apparently d... (by George P)
    Convert string_view to string ref   [General C++ Programming]
     
    As a simple test case for much larger code, I want to pass std::string_view as a param to a function taking an arg of const std::string&. This isn't accepted wi...
    [3 replies] Last: Elwood P. Dowd is on stand-by. (by George P)
    how tto run vcpkg package manager in classic mode?   [Windows Programming]
     
    I want to download libraries to a system wide installed directory NOT using manifests! that is, how to call vcpkg new in classic mode??
    [3 replies] Last: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg>vcp... (by JUANDENT)
    by demhat
    what can I do?   [Beginners]
     
    what does the word 'branch' mean in computer language? I am studying C/C++ from a book and the book wants me to make a program which is called 'build your ow...
    [4 replies] Last: thank you guys (by demhat)
    by R1S8K
    Clearing the window api   [Windows Programming]
     
    Hi, I'm starting learning win32 api programming. I working on developing pages, but the problem is that when I get back to the main page, the window isn't...
    [5 replies] Last: When it comes to what's been drawn in an app's client area and whether... (by George P)
    Threading implementation using setjmp.h   [General C++ Programming]
     
    Hi guys, A little bit of preamble will help me segue into the topic at hand. I've been using chatGPT quite often over the past 4-6 weeks. Although not always...
    [12 replies] Last: If the I/O thread makes an I/O request via a system call such as writ... (by AbstractionAnon)