General C++ Programming (Page 6)

a template-argument cannot be a type that contains 'auto' in C++20
In C++20 we are supposed to be able to use concepts like this: //type requirement template<ty...
[6 replies] Last: C++20: template < std::ranges::forward_range RANGE > std::ranges::ran... (by JLBorges)
Possible to replace member function to a noop function?
I write c++ with c++11 and have a question as title. Ex. class Hi { public: Hi(){}; tes...
[3 replies] Last: alternately: class Hi { public: Hi(){}; void test() {cout << ... (by jonnin)
Constructing plotting routine for a polynomial?
Given this 4th order polynomial, x^4 - 3x^3 -15x^2 +10x +30, use lab 17 to construct a plotting rout...
[8 replies] Last: And the fact that it is written as a power (exponent) ... doesn't mea... (by seeplus)
Derived classes
hello,I am trying to use the derived method from a pointer to the base class without making the Base...
[3 replies] Last: Lets have two shapes. Are they identical? If they are both triangles a... (by keskiverto)
Struggling with C-string method again
Ok so I am using a class MyString, and I am having a hard time properly writing a readLine function ...
[13 replies] Last: The C++ standard library copied over the C library for the most part, ... (by George P)
my getter and setter function not working
Please learn to use code tags, they make reading and commenting on source code MUCH easier. H...
[4 replies] Last: Do NOT remove the text you already had! Edit the post to ADD code tag... (by George P)
Automatic Differentiation Library?
Hey people, I'm trying to get a library that does Automatic Differentiation. I've not successfully d...
[5 replies] Last: OK, so if you want a gradient based approach then you can get derivati... (by lastchance)
by Cplusc
Solving linear system of equations using AztecOO
After almost several days struggling with Trilinos eventually I built and Installed the library. Now...
[7 replies] Last: Yeah, #include guards are the usual approach to avoid including th... (by kigar64551)
Bubble sorting trouble
I just need to fix one thing but I am unsure what I need to do I know where to issue lies but am uns...
[3 replies] Last: As one file, consider: #include <iostream> #include <iomanip> #incl... (by seeplus)
Error: expected primary-expression before ‘)’ token
I'm getting this error when running this code #include<iostream> #include<string> #include<vect...
[6 replies] Last: You need to maintain a container of the entered data (eg a vector). Po... (by seeplus)
Pages: 1... 456
  Archived months: [apr2022]

Cannot post in this page. To post a new message, go to the first page.