Click here to Skip to main content
15,947,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer22-May-17 5:27
leon de boer22-May-17 5:27 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard MacCutchan22-May-17 6:45
mveRichard MacCutchan22-May-17 6:45 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Bram van Kampen2-Jun-17 14:58
Bram van Kampen2-Jun-17 14:58 
Questionfytjfc Pin
Mehul Mahajan21-May-17 0:25
Mehul Mahajan21-May-17 0:25 
AnswerRe: plz solve this module asap Pin
OriginalGriff21-May-17 0:25
mveOriginalGriff21-May-17 0:25 
AnswerRe: plz solve this module asap Pin
leon de boer21-May-17 4:21
leon de boer21-May-17 4:21 
AnswerRe: plz solve this module asap Pin
NotPolitcallyCorrect21-May-17 5:27
NotPolitcallyCorrect21-May-17 5:27 
QuestionOpenMP parallel file writing Pin
Ashish Ranjan Mishra19-May-17 22:48
Ashish Ranjan Mishra19-May-17 22:48 
hello,
Can anyone help me out in writing large number of files(almost 8000) parallely in a directory using openMP support in VC++
I am also using a recursive function inside WriteFile to do the writng texts to the corresponding file

My code snippet is as below
===========================
#pragma omp parallel private(i)
{
#pragma omp for schedule(dynamic, 1)
for ( i= 0; i< 10000; i++)
{
WriteFiles("directory path..", "w+");
}
}
But it is not working and crashing particularly inside recursive function.
Can anyone help me out?

Thanks in advance
asdsa

AnswerRe: OpenMP parallel file writing Pin
Richard MacCutchan19-May-17 22:54
mveRichard MacCutchan19-May-17 22:54 
AnswerRe: OpenMP parallel file writing Pin
Afzaal Ahmad Zeeshan20-May-17 0:12
professionalAfzaal Ahmad Zeeshan20-May-17 0:12 
AnswerRe: OpenMP parallel file writing Pin
David Crow20-May-17 10:13
David Crow20-May-17 10:13 
AnswerRe: OpenMP parallel file writing Pin
Randor 20-May-17 10:37
professional Randor 20-May-17 10:37 
QuestionHow To Add New Code - NetBeans Pin
Django_Untaken17-May-17 9:09
Django_Untaken17-May-17 9:09 
AnswerRe: How To Add New Code - NetBeans Pin
Rick York17-May-17 10:20
mveRick York17-May-17 10:20 
SuggestionRe: How To Add New Code - NetBeans Pin
Richard MacCutchan17-May-17 21:25
mveRichard MacCutchan17-May-17 21:25 
QuestionCOleVariant to COLORREF Pin
_Flaviu12-May-17 6:27
_Flaviu12-May-17 6:27 
QuestionRe: COleVariant to COLORREF Pin
David Crow12-May-17 9:45
David Crow12-May-17 9:45 
AnswerRe: COleVariant to COLORREF Pin
_Flaviu13-May-17 21:17
_Flaviu13-May-17 21:17 
AnswerRe: COleVariant to COLORREF Pin
_Flaviu14-May-17 20:14
_Flaviu14-May-17 20:14 
QuestionArray of char* Pin
Django_Untaken11-May-17 23:54
Django_Untaken11-May-17 23:54 
AnswerRe: Array of char* Pin
Jochen Arndt12-May-17 0:23
professionalJochen Arndt12-May-17 0:23 
GeneralRe: Array of char* Pin
Django_Untaken12-May-17 1:29
Django_Untaken12-May-17 1:29 
GeneralRe: Array of char* Pin
Jochen Arndt12-May-17 1:35
professionalJochen Arndt12-May-17 1:35 
GeneralRe: Array of char* Pin
leon de boer14-May-17 16:15
leon de boer14-May-17 16:15 
AnswerRe: Array of char* Pin
Huzifa Terkawi14-May-17 16:07
Huzifa Terkawi14-May-17 16:07 

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.