Problem creating threads in C++
I have a program and I need to make 3 separate threads that all will run. The problem is when ever I create the threads it doesn't automatically run the startup code that I have entered (It will not run anything in the f_thread, m_thread, or d_thread). Here is the main of my program. I think that I may have to do something with pthread_join, but everything that I have tried didn't seem to work. I am very new to threads so anything would help.
int main ()
SandersBal.sharedChecking = 0;
SandersBal.sharedSavings = 0;
pthread_create(&father, NULL, f_thread, &SandersBal);
pthread_create(&mother, NULL, m_thread, &SandersBal);
pthread_create(&daughter, NULL, d_thread, &SandersBal);