• Register

Recent posts tagged member

4 0 2 min.
This article discusses the error “no member named 'cout' in namespace 'std''”. I’ll be explaining the cause and the solution of the error by an example.This type of error comes to know when we will handle multipl...
posted Oct 3, 2020 Lalit Kumar 1,240 points
0 0 1 min.
Static member means inside a function is that once the variable has been initialized, it will remain the same in the memory until the end of the program. The error “invalid use of non-static member function” means that we are using a...
posted Sep 10, 2020 Lalit Kumar 1,240 points
0 0 1 min.
The -> symbol like is called arrow operator which is formed by using minus sign followed by greater than sign. The operator is used in C++ to reference individual members of classes, structures or unions. The dot operator is applied to denote the ...
posted Sep 6, 2020 Lalit Kumar 1,240 points
19 0 1 min.
C++ has few boundations and they all had their reasons for why they exist. “ISO C++ forbids in class initialization of non const static members” is one of them. In this article we will discuss its reasons and solutions.Cause of the errorT...
posted Aug 3, 2020 Lalit Kumar 1,240 points
0 0 1 min.
ProblemToday we are going to take a look at another commonly made mistake which causes us this error. Cannot call member function without an object is the usually encountered error. This error is generally encountered when we are working with classes...
posted Apr 20, 2020 Lalit Kumar 1,240 points
To see more, click for the full list of questions or popular tags.