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

    Discord Server Issue   [Lounge]
     
    Hi Software Engineer here, could someone help me with the discord invite issue? thanks. It's been a while and I'm trying to join.
    [15 replies] Last: https://gist.github.com/Helios-vmg/abd9ef1153c5d43d7a29 0.1 + 0.2 is ... (by helios)
    The origins of Big Foot (1,2)   [Lounge]
     
    Does anyone consider that Big Foot could be a cross between a human and an ape? There are documented cases of ligers, zonkeys, ... Could this be the re...
    [27 replies] Last: Since OP has abandoned this thread, I may as well use it to convey a l... (by helios)
    AI Desktop   [Lounge]
     
    I was curious if anyone has plugged in AI to generate their desktop background images on the fly yet? I don't have a graphics card that could handle that (actua...
    [1 reply] : images are 2d... you should be OK without a power graphics card. If y... (by jonnin)
    How to display the number of elements in a dynamic memory allocated array   [Beginners]
     
    Hi, Please, can someone help with this code? I have been trying to display the number of elements store in a dynamic memory allocated 1D array created using ...
    [15 replies] Last: @All Awesome! I learned so much from this interaction especially abou... (by ayoesquire)
    Is this for real?   [Lounge]
     
    I had a recruiter email me the following: Hey there, I hope you are well. I found your profile on CareerJunction. Our client, Think Cell, is looking ...
    [15 replies] Last: The only way to be sure would be for multiple people sign up and comp... (by KunjeeB)
    Use concepts to test for member functions   [General C++ Programming]
     
    Hey guys, I'd like to use concepts to verify that an interface is implented correctly. Usally I would use virtual functions for this. However in this particul...
    [4 replies] Last: AH thx alot, now it's working fine :) (by JuliusCaesar)
    Wait for stdout completed (C)   [General C++ Programming]
     
    For C. Is there a way to wait for all output sent to stdout to be displayed before continuing? I have a situation where I use puts() to display some initialisat...
    [9 replies] Last: We don't 'mix' our io with standard output. We only use standard outpu... (by seeplus)
    by PeteDD
    Use array as incrementer in for loop - no longer compiling   [General C++ Programming]
     
    I am in the process of moving some code to a new toolchain and encountered the following code (which is running in many production systems just fine) that will ...
    [8 replies] Last: I'm still left wondering why the developer put this variable in as an... (by coder777)
    Obtain desktop dimensions while DPI scaling is enabled   [Windows Programming]
     
    Good day! I am looking for a way to get physical desktop (primary monitor) resolution using Windows API. So far I tried several approaches: #include <window...
    [5 replies] Last: I am also aware of "Properties" > "Compatibility" tab > "Override hig... (by kigar64551)
    by ruzip
    GLUT Keys with VK Keys   [General C++ Programming]
     
    I'm looking for a way to make the GLUT key functions to work simultaneously with VK Keys (GetAsyncKeyState) so the other special keys that GLUT cannot detect ...
    [2 replies] Last: Thanks kilgar, but actually not involving any external library. And a... (by ruzip)