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

    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 ...
    [12 replies] Last: https://www.think-cell.com/en/career/overview 1. Is the recruiter offe... (by salem c)
    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)
    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...
    [26 replies] Last: A bit off-topic but this discussion of ghosts reminded me of this rece... (by Ganado)
    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)
    by Atom1
    DLL Calculation does not agree with Excel (1,2)   [Beginners]
     
    I'm trying to understand why the DLL built from the code below does not get the same result as Excel. In Excel I get: 0.892857143 From the DLL I get: 0.904762 ...
    [20 replies] Last: Array Values Old Method DLL 848 5 4516.72552 0.9981800000 ............ (by lastchance)
    How to implement FFTW efficiently in C/C++?   [General C++ Programming]
     
    From the FFTW documentation: You are probably recreating the plan before every transform, rather than creating it once and reusing it for all transforms of ...
    [13 replies] Last: I'm surprised there's even a correlation between thread count and elap... (by helios)
    by jNc
    send text to clipboard   [General C++ Programming]
     
    Having some text that I want to send to clipboard, something like string "random text", I want to call some function (C or 3rd party lib or can be Ubuntu tool)...
    [4 replies] Last: It looks like the modern default Ubuntu does not come with a clipboard... (by newbieg)