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

    why can't I use cout with without iostream   [General C++ Programming]
     
    Basically what the tittle says I wanted to output something so I only included the ostream[/code] library but when I tried to output something with cout ...
    [4 replies] Last: Peter87 wrote: I disagree. If you just want to overload the << operat... (by jonnin)
    MSVC Solution and C1011 Error   [Windows Programming]
     
    MSVS Community Edition, v17.12.5 (latest), Win10 (latest), 64-bit I've raised an issue with MS, but after their acknowledging that they've replicated the probl...
    [1 reply] : They've not responded to further inquiries and the issue's status is ... (by seeplus)
    Random Story Time   [Lounge]
     
    I once went to McDonalds, waaay back when $5 was expensive, and bought food that totaled something like $6.85. I gave the cashier a five, two ones, and a dim...
    [9 replies] Last: I grew up around cows -- our 'neighbor' (his actual home was about 2 m... (by jonnin)
    C++ and the Government   [Beginners]
     
    Could anyone care to comment on the following? https://www.theregister.com/2024/11/08/the_us_government_wants_developers/
    [4 replies] Last: you use what the government tells you to if you work for them, directl... (by jonnin)
    by Ch1156
    Using std::variant to reduce getter and setter clutter   [Beginners]
     
    I'm experimenting with new ways to reduce code bloat, and one of my biggest gripes is always having to create two different functions for one variable, so my so...
    [15 replies] Last: [quote=Ch1156]Probably not necessary, but It just feels wrong to make ... (by TheIdeasMan)
    by Ch1156
    Is this how you do object chaining?   [Beginners]
     
    Im learning about object chaining and im wondering if im doing it correctly. #include <iostream> #include <print> #include <string> #include <vector> ...
    [9 replies] Last: Thank you for all the replies! That seems like a straight forward conc... (by Ch1156)
    Programming math - polynomial class   [Beginners]
     
    How to write templated polynomial class I would like to have overloaded operators like + -(unary,binary) * Here we can have school multiplication or...
    [8 replies] Last: A wouldn't make this a template, unless you need it to work with float... (by dhayden)
    Opening Multiple Console Windows One For Each Thread   [Windows Programming]
     
    I'm playing around with threads and rather than designing a class to manage output to a single console i.e., a single stdout, I figured to use this approach t...
    [7 replies] Last: Not sure if it was only my system but MSVC compiler emitted compiler ... (by kigar64551)
    Pybind11 slows my C++ code substantially   [General C++ Programming]
     
    Greetings everyone, continuing with my particle simulation, I am trying to turn it into a python package (I work in maths, and most people would never be able ...
    [4 replies] Last: of course it can. you may need to hand wave at byte ordering if you g... (by jonnin)
    scientific computing - optimize speed   [General C++ Programming]
     
    Greetings, this is a longer thread, so thank you in advance for anyone who takes the time. It might be that no one can help me without sharing the whole github...
    [15 replies] Last: Hi guys, thanks for your interest and hints that focusing on the algo... (by PhysicsIsFun)