Home » Community » Coffee corner » important note when a strange compilation error occurs
| important note when a strange compilation error occurs [message #57296] |
Sat, 26 June 2021 21:42  |
BetoValle
Messages: 206 Registered: September 2020 Location: Brasil Valinhos SP
|
Experienced Member |
|
|
Hi,
Suddenly, through an unnoticed distraction, a strange compilation error occurs.
It happened to me, although it solved with some slowness, because I was evaluating the reason, as that something difficult to visualize in the code suddenly happened (in this case, it involved many lines of code).
the ide show errors like
...'using namespace' is not allowed in classes
...non-friend class member 'Get' cannot have a qualified name
class....{}
public:
....
....
....
void getTiposCartao(){; // <----- I accidentally pasted a bracket and didn't notice.
....
....
};
that's why I think good practices such as writing function and as soon as it ends compiling before writing others function or the next code.
Thanks
|
|
|
|
Goto Forum:
Current Time: Mon Nov 03 16:08:19 CET 2025
Total time taken to generate the page: 0.04220 seconds
|