Passing char array.

Classes Help

Posted 13 March 2010 - 01:41 AM

I have a homework which states that I should do a class called course. It has several data members such as course name and the credits etc... Everything worked except when i want to pass an array to the member function. I get an error and the program exits. I will post the class:

and:
From the screenshot I get the idea that you are not testing your program in Debug mode.
Please try to run the program in Debug, you will get much more helpful errors, and the debugger will show you where things go wrong.

and:
From the screenshot I get the idea that you are not testing your program in Debug mode.
Please try to run the program in Debug, you will get much more helpful errors, and the debugger will show you where things go wrong.