Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem with CString Pin
David Crow10-Mar-09 4:20
David Crow10-Mar-09 4:20 
GeneralRe: Problem with CString Pin
Abhijit Jana10-Mar-09 5:55
professionalAbhijit Jana10-Mar-09 5:55 
AnswerRe: Problem with CString Pin
safemj11-Mar-09 0:15
safemj11-Mar-09 0:15 
QuestionCustom listcontrol Pin
toolsrnd10-Mar-09 4:14
toolsrnd10-Mar-09 4:14 
AnswerRe: Custom listcontrol Pin
Code-o-mat10-Mar-09 4:24
Code-o-mat10-Mar-09 4:24 
QuestionRe: Custom listcontrol Pin
David Crow10-Mar-09 4:25
David Crow10-Mar-09 4:25 
AnswerRe: Custom listcontrol Pin
Hamid_RT10-Mar-09 5:02
Hamid_RT10-Mar-09 5:02 
QuestionImplementing queues along with threads Pin
kr_ash10-Mar-09 3:21
kr_ash10-Mar-09 3:21 
Hi all,
my requirement is there is a function which creates one thread and passes the data for further processing which looks like
void MyFunc(char *data)
{
CreateThread(NULL,0,build_data,(void *)data,0,NULL);
}
Now i want to modify the above code.
I want to introduce a queue class and want to create two threads so that 1st thread can invoke a function which writes the data to the queue and the 2nd thread reads the data from the queue. Please introduce mutex if required. Can you tell me how to implement the above in VC++.
Please help me on the above. Thanks
AnswerRe: Implementing queues along with threads Pin
David Crow10-Mar-09 3:59
David Crow10-Mar-09 3:59 
QuestionCFile output - Problem - An extra White space Pin
PankajB10-Mar-09 2:49
PankajB10-Mar-09 2:49 
AnswerRe: CFile output - Problem - An extra White space Pin
Iain Clarke, Warrior Programmer10-Mar-09 3:01
Iain Clarke, Warrior Programmer10-Mar-09 3:01 
GeneralRe: CFile output - Problem - An extra White space Pin
CPallini10-Mar-09 3:29
mveCPallini10-Mar-09 3:29 
AnswerRe: CFile output - Problem - An extra White space Pin
Sarath C10-Mar-09 3:15
Sarath C10-Mar-09 3:15 
AnswerRe: CFile output - Problem - An extra White space Pin
David Crow10-Mar-09 3:43
David Crow10-Mar-09 3:43 
QuestionDatabase with password Pin
Grebeshkova10-Mar-09 1:56
Grebeshkova10-Mar-09 1:56 
QuestionRe: Database with password Pin
David Crow10-Mar-09 3:45
David Crow10-Mar-09 3:45 
Questionmap in mfc Pin
hrishiS10-Mar-09 1:41
hrishiS10-Mar-09 1:41 
AnswerRe: map in mfc Pin
Iain Clarke, Warrior Programmer10-Mar-09 1:47
Iain Clarke, Warrior Programmer10-Mar-09 1:47 
AnswerRe: map in mfc Pin
Nishad S10-Mar-09 2:38
Nishad S10-Mar-09 2:38 
AnswerRe: map in mfc Pin
CPallini10-Mar-09 3:01
mveCPallini10-Mar-09 3:01 
GeneralRe: map in mfc Pin
Eytukan10-Mar-09 6:46
Eytukan10-Mar-09 6:46 
AnswerRe: map in mfc Pin
Stephen Hewitt10-Mar-09 3:06
Stephen Hewitt10-Mar-09 3:06 
AnswerRe: map in mfc Pin
Eytukan10-Mar-09 6:50
Eytukan10-Mar-09 6:50 
QuestionDifferent encoding?? Pin
gothic_coder10-Mar-09 1:03
gothic_coder10-Mar-09 1:03 
AnswerRe: Different encoding?? Pin
Iain Clarke, Warrior Programmer10-Mar-09 1:43
Iain Clarke, Warrior Programmer10-Mar-09 1:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.