No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
When I run the program I get an exception on line 54: Cross-thread operation not valid: Control 'listBoxResult' accessed from a thread other than the thread it was created on. Form: ------------------------------------ [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using … |
|
line 121 (p = j) calls both assignment operator and copy constructor functions. is this normal? also the destructor is called three times. I thought the function should have been called two times. [CODE=c] #include <iostream> #include <string> using namespace std; class Student{ private: //A string that stores the name … |
|
I get a Segmentation fault error and I cant find what's wrong with the program. programs fails when it tries to execute this line "delete [] this->courseList" in operator = overloading function. [CODE=c] #include <iostream> #include <string> using namespace std; class Student{ private: //A string that stores the name of … |