python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Error: Qualified reference to 'Complex' is a constructor name rather than a type in this context
I just started learning C++, and I don't understand why when I define my Complex class's constructor outside the class, there is a compiling error, please help!
using namespace std;
int main(int arg...

Heng Wei
Votes: 0
Answers: 2
Unable to use new Date() in Typescript - TS2554: Expected 1-2 arguments, but got 0
I am trying to use a js date with Ts and seemingly unable to .
Usage
<Date variant="body2">on {format(new Date(), 'dd/MM/yyyy')}</Date>
Error
Expected 1-2 arguments, but got 0. ...
Jamie Hutber
Votes: 0
Answers: 1
Paradox with default c'tor potentially throwing for a class with a std::string member
Do the C++ "Core Guidelines" prevent (or, at least, strongly discourage) a class with a std::string member from having a default constructor? I ask because of an issue I've noticed when usin...

Adrian Mole
Votes: 0
Answers: 0
seteer und Getter conflict with default constructor
i write a c++ Code contain two clases and one derived class from both simultaneouously
in main funktion i have an object from the derived class declared with no constructor because i have already decl...
moayad karimeh
Votes: 0
Answers: 0