(Translated by https://www.hiragana.jp/)
  • 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:

    How to create bare-minimum Windows Application with Console Access?   [Windows Programming]
     
    I'm following this video tutorial and would like to run the code snippet at 1:07. [code] #define WIN32_LEAN_AND_MEAN #include <iostream> #include <strin...
    [5 replies] Last: One thing to note about using std::to_string[/tt]: [quote=cppreferen... (by George PlusPlus)
    by helios
    Unpopular opinions   [Lounge]
     
    The plural of "layoff" is "layoves". Every non-pressurized drink should come in a bag, as it's a much more efficient packaging (assuming it must be disposabl...
    [2 replies] Last: but if you need to hire a bunch of people, is it a layon? Or a standu... (by helios)
    Why its showing wrong ?   [Beginners]
     
    Hi there, I am trying to run a code what school going student can do ! But not sure what kind of mistake I am doing. Take a look the program #include<s...
    [6 replies] Last: Just because you can doesn't mean you should. [/quote] :) [quote]do-... (by seeplus)
    Windows water mark now appears on desktop   [Lounge]
     
    I was messing around with some programs. Not sure what happened but there was now a watermark saying to activate windows. Said go to settings which I did. Then ...
    [1 reply] : Definitely run a full virus scan (Windows Defender will do), but it is... (by Duthomhas)
    what does T = 0 mean in a template parameter?   [General C++ Programming]
     
    What does T = 0 mean in the following code: template<typename T, T = 0> T moduloOf(T a, T b) { return a % b; } [/code]
    [4 replies] Last: Indeed: "initialized with value 0" limit what type the T can be? (by JUANDENT)
    Save to file with vector (dynamically)   [General C++ Programming]
     
    I have created a programme that does calculations and generates results from those calculations. The imformation generated is stored in variables for later d...
    [8 replies] Last: This is some simple C++11 code to write a vector of numbers to a file ... (by seeplus)
    New Safe C++ Proposal (1,2,3,4)   [Lounge]
     
    There is now a Safe C++ proposal that extends C++ by defining a superset of the language that can be used to write code with strong safety guarantees. See: htt...
    [78 replies] Last: Yes, which can also be useful. You just have to check that the iterat... (by helios)
    Fox-Star Search Fun (1,2)   [Lounge]
     
    A recent question asked about the A* Search algorithm (https://cplusplus.com/forum/beginner/285875/#msg1243408 [/b]), something I had never messed with, so I de...
    [28 replies] Last: Take your time, I already know how to ensure your code does compile wi... (by George PlusPlus)
    C++ fixed size string   [Lounge]
     
    Why is something like this not part of the C++ stdlib, only available in many different 3rd party libraries? One example, header only, with a vcpkg package: fi...
    [7 replies] Last: So you'd rather have tons of 3rd party libraries instead, or custom co... (by George PlusPlus)
    When does early binding happen?   [General C++ Programming]
     
    Thing 1: Static binding takes place during compilation - function calls are replaced with an instruction saying "go here for the appropriate function definit...
    [1 reply] : I guess this is what's called "devirtualization" which GCC has optimiz... (by Peter87)