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

    User input with class methods   [Beginners]
     
    I've come to the point where I need to collect user input and create the instance of a matrix. I've tried but I'm not sure how to do this, given all of my metho...
    [3 replies] Last: same as you would your first programs that talked to the user... pseud... (by jonnin)
    How to create an MFC custom control in VS2022?   [Windows Programming]
     
    Hi, I need to make an MFC custom control that enables me to draw bidimensional graphs... I am going to start looking in internet but though I also asked for ...
    [3 replies] Last: Hey, recently I joined my new job and it's my first experience so I am... (by Tylor838)
    How to take 2D FFT of 3D matrix?   [General C++ Programming]
     
    I am using eigen tensor to define my 3D matrix and would like to perform a 2d fft on it. Originally, I was trying to follow with my other code where I take 1d ...
    [9 replies] Last: Well, few cases to work, but I have questions if that's okay. The firs... (by JamieAl)
    Sequential Search   [Beginners]
     
    there's an error on this program supposedly how can I utilize it to become a linked list and array and to identify how many comparisons would be necessary to fi...
    [7 replies] Last: Thank you guys for the help! (by vonits23)
    Testing Strings   [Beginners]
     
    Hi, I put together a program that is supposed to print an alien word called a "blurb." A blurb consists of an whoozit which is an x followed by one or more y. T...
    [9 replies] Last: Okay, I had to come back to it with a fresh set of eyes and rethink it... (by stoneJax)
    Need but failed run a user's alias inside bash CLI   [UNIX/Linux Programming]
     
    Failed run a user's alias inside bash CLI How can run a user's alias $ grab 'man' [/code] but as to do it in a CLI [code] $ bash -c "grab 'man'" b...
    [1 reply] : Start an interactive shell $ bash -ic 'grab man'[/tt] This info is av... (by mbozzi)
    How to improve C++ Program? (1,2)   [Beginners]
     
    Following C++ program compiled and ran using MS VS2022 Community edition. Please help improve this program (main, power function, #defines etc) using C++20 fea...
    [21 replies] Last: Is there a way to make changes to this program using C++ 17 features?... (by seeplus)
    Calculating the Duration of a Factorial Calculation   [Beginners]
     
    Hi, I'm trying the calculate a factorial calculation's duration. But the code that I wrote is giving me the zeros all the time. If it's 1! giving me 0 even whil...
    [2 replies] Last: try nanoseconds instead? your computer is very, very fast. factoria... (by jonnin)
    It's nice to have a trollish stalker   [Lounge]
     
    The loser is reporting nearly all my posts, making me laugh at how ineffectual the pettiness is.
    [11 replies] Last: Aaaaand, I'm still here. :Þ (by George P)
    “Wheel Of Fortune” game CHALLENGE!!!1! (1,2)   [Lounge]
     
    With all the hangman games lately, I thought I’d have some fun. Your challenge, should you choose to accept it, is to produce a nice little word/phrase guessi...
    [37 replies] Last: My reported comment about the time frame for when a thread goes into a... (by George P)