April 6th, 2014, 03:46 PM
Also, what is the syntax for writing a memberwise assignment function within a class?
April 6th, 2014, 02:59 PM
What type of debugger are we talking about?
April 6th, 2014, 02:10 PM
Okay so I made some more changes to my code and it runs now but it doesn't allow the user to enter coordinates. What am I doing wrong?
April 6th, 2014, 02:00 PM
Okay so I did that, but now I get these errors
prog.cpp: In function ‘int main()’:
prog.cpp:45:16: error: ‘class Cartesian’ has no member named ‘c’
cin >> coord1.c;
April 6th, 2014, 12:03 PM
I am trying to make a program with a Cartesian class that allows the user to enter 2 coordinates and displays these coordinates. When I try to compile it, I get a message saying the x and y in x=c...