the program prints "read first letter", and then stops. it doesn't print "wrote first letter". it doesn't give me any useful info 
threadNum is a char* that reads "1&threadID=555". any idea whats wrong?
some code:
{
char* fname;
cout << "generating name" << endl;
char temp = threadNum[0];
cout << "read first letter" << endl;
fname[0] = temp;
cout << "wrote first letter" << endl;
}
threadNum is a char* that reads "1&threadID=555". any idea whats wrong?
some code:
{
char* fname;
cout << "generating name" << endl;
char temp = threadNum[0];
cout << "read first letter" << endl;
fname[0] = temp;
cout << "wrote first letter" << endl;
}