I am stuck on this, my teacher does not even know what is happening. If someone could help me, that would be very grateful.
I declared an element in the header file in the line structure. However, when you call it in the Line :: display () method, I get an error message indicating that the variable was not declared in the scope. I showed my teacher and my peers, and no one knows about the solutions.
Here is my .h:
//Line.h
And here is my .cpp file.
// Line.cpp
Any help with this is wonderful. Thanks in advance.
bgmrk source share