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

    Came back after 7 years to learn C++ and Software Development Patterns.   [General C++ Programming]
     
    ---- PreDescription ---- Started programming back in 2015-2016 using C++ and then got lost in many other programming languages. Python, Java, C#, JS, HTML just...
    [6 replies] Last: The numeric input code could usefully be refactored into a stand-alone... (by seeplus)
    forum for AI questions   [Lounge]
     
    hi does anyone know of a forum where beginners can ask questions about AI/machine learning (for beginners)? i think this forum is for c++ so not really ap...
    [2 replies] Last: none of those are helpful - they are either policy based forums or for... (by rozick1)
    by ruzip
    GetMangledSiteSid Entry Point error   [Windows Programming]
     
    When building an exe using Windows in MinGW g++, I get an error when I run it: The procedure entry point GetMangledSiteSid could not be located in the dynamic...
    [6 replies] Last: That was one of the links I read for my comment, kigar. :Þ (by George P)
    Designing a Role-Based Access Control (RBAC)   [General C++ Programming]
     
    I am looking into on how to design, and develop a RBAC system that limits and enforces access to a product base on roles and permissions. This is something I wa...
    [4 replies] Last: An example of implementing a system on Windows using Azure or other pl... (by George P)
    How can I download GCC for windows latest version?   [Windows Programming]
     
    Hi, I need the latest GCC compiler collection for Windows but cannot find it. Please help... I tried: git clone git://gcc.gnu.org/git/gcc.git [/code] but ...
    [3 replies] Last: Yeah, MSYS2 has a really nice feature, a package manager that makes in... (by George P)
    by Ch1156
    Forwarding constructors (1,2)   [Beginners]
     
    Normally when inheriting you have to write in the arguments to the bases constructor in the derived class, is there any way to make this easier? for example I h...
    [24 replies] Last: [quote=Ch1156]Also the Increment hunger/thirst/fatigue are never used ... (by Peter87)
    what is the difference between returning auto vrs returning decltype(auto)?   [General C++ Programming]
     
    when should we choose to return decltype(auto) instead of returning auto? For instance: template<typename CB> class CountCalls { CB callback;...
    [5 replies] Last: Sorry helios but I never quite understood it.... I apologize. Thanks P... (by JUANDENT)
    Command line parser for scientific computing   [Beginners]
     
    Greetings, for my PhD I often write numerical simulations like that: int main(int argc, char *argv[]) { const int method = atoi(argv[1]); // 0 fo...
    [9 replies] Last: @mbozzi - Check L6 with L1 ???[/quote] Thanks! (by mbozzi)
    by frek
    Implement or get special member functions defaulted   [General C++ Programming]
     
    Hi, In what situations would you implement your class's special member functions? Suppose there's a class like: template <typename T> class myClass { public: ...
    [2 replies] Last: If the class holds at least one pointer variable then you'll probably ... (by seeplus)
    by Atom1
    Add a managed .net dll to a cpp dll project (1,2)   [General C++ Programming]
     
    I am trying to create a cpp dll which will utilize the functions of a managed .net dll. How do I create a reference to the .net dll in my cpp project? The .net ...
    [37 replies] Last: You would want to use "Unicode" (i.e. UTF-16, little endian), because ... (by kigar64551)