• 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 testing for member pointer determines the template type is a class?   [General C++ Programming]
     
    why does this code determine if the type is a class: template<typename T> class is_class { template<typename C> static char test(int C::*); template<typena...
    [1 reply] : It isn’t testing whether there are[/i] any members, only if the type ... (by Duthomhas)
    How to set up runtime environment for developing and testing Windows apps?   [Windows Programming]
     
    I would like to learn how to write my own credential provider but I don't want to roll out changes on my personal computer, in case I do something dumb and lo...
    [no replies]
    C++ Questions (1,2,3,...,9,10,11,12)   [Beginners]
     
    1) Why does "&myChar " act differently in 2 different contexts? [code] char* pointer = &myChar[0]; //ALSO WORKS!!! [/code] Above, it actually return th...
    [225 replies] Last: The "project" that I had to build in Windows back then had actually sp... (by keskiverto)
    What windows/gui library? (1,2,3)   [Lounge]
     
    What windows/gui library would you fellas recommend for someone starting out as their first entry? I know some SFML, but I am curious what you would have recomm...
    [49 replies] Last: I never had a complete lockup, but very sluggish and either it taking ... (by SubZeroWins)
    Trouble with seeing where variable is initialized?   [General C++ Programming]
     
    Hello, This question is in regards to the initialization of the variable value_type value;[/code] I can see that the struct [b]foo[/b] is typed as the [b]wr...
    [4 replies] Last: [quote=lostwithcpp]this is only for structs, not classes? Technically... (by Peter87)
    by Cplusc
    C1090 error (1,2)   [General C++ Programming]
     
    I am getting the following annoying and frustrating error which appeared suddenly out of nowhere. the code was working just fine and I don't know what happened....
    [23 replies] Last: hardware that old wouldn't be able to slot enough ram to run it either... (by jonnin)
    Jobs   [Jobs]
     
    Do people really get jobs from this section, has anyone?
    [2 replies] Last: Look at how often job offers -- and the type -- are posted. 1 in 2024... (by George P)
    Finally switched to Linux Mint (1,2,3)   [Lounge]
     
    Got a new PC (finally) and since it is really nice, modern hardware I am finally making the move from Windows. I liked[/i] Windows 7. Very clean, good OS. Wi...
    [44 replies] Last: I think the last time I actually had to reinstall[/i] an OS that I ma... (by Duthomhas)
    by zapshe
    I've been working an odd job   [Lounge]
     
    I've been doing this remote job where you train an AI. You give the AI a prompt, it does the code, you evaluate and critique the code if need be. Pays pretty we...
    [5 replies] Last: app.dataannotation.tech There is a coding assessment you have to pass... (by zapshe)
    by PacR
    Read nested structures from file.   [General C++ Programming]
     
    Hi guyz im having trouble reading structures from text file containing: // this is example.txt structname1{ hp 50 mp 10 structname2{ ...
    [19 replies] Last: As another take on this, consider: #include <iostream> #include <fs... (by seeplus)