Click here to Skip to main content
15,116,516 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer22-May-17 6:27
Memberleon de boer22-May-17 6:27 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard MacCutchan22-May-17 7:45
mveRichard MacCutchan22-May-17 7:45 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Bram van Kampen2-Jun-17 15:58
MemberBram van Kampen2-Jun-17 15:58 
Questionfytjfc Pin
Mehul Mahajan21-May-17 1:25
MemberMehul Mahajan21-May-17 1:25 
AnswerRe: plz solve this module asap Pin
OriginalGriff21-May-17 1:25
mveOriginalGriff21-May-17 1:25 
AnswerRe: plz solve this module asap Pin
leon de boer21-May-17 5:21
Memberleon de boer21-May-17 5:21 
AnswerRe: plz solve this module asap Pin
NotPolitcallyCorrect21-May-17 6:27
MemberNotPolitcallyCorrect21-May-17 6:27 
QuestionOpenMP parallel file writing Pin
Ashish Ranjan Mishra19-May-17 23:48
MemberAshish Ranjan Mishra19-May-17 23: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 23:54
mveRichard MacCutchan19-May-17 23:54 
AnswerRe: OpenMP parallel file writing Pin
Afzaal Ahmad Zeeshan20-May-17 1:12
mveAfzaal Ahmad Zeeshan20-May-17 1:12 
AnswerRe: OpenMP parallel file writing Pin
David Crow20-May-17 11:13
MemberDavid Crow20-May-17 11:13 
AnswerRe: OpenMP parallel file writing Pin
Randor 20-May-17 11:37
professional Randor 20-May-17 11:37 
QuestionHow To Add New Code - NetBeans Pin
Django_Untaken17-May-17 10:09
MemberDjango_Untaken17-May-17 10:09 
AnswerRe: How To Add New Code - NetBeans Pin
Rick York17-May-17 11:20
mveRick York17-May-17 11:20 
SuggestionRe: How To Add New Code - NetBeans Pin
Richard MacCutchan17-May-17 22:25
mveRichard MacCutchan17-May-17 22:25 
QuestionCOleVariant to COLORREF Pin
_Flaviu12-May-17 7:27
Member_Flaviu12-May-17 7:27 
QuestionRe: COleVariant to COLORREF Pin
David Crow12-May-17 10:45
MemberDavid Crow12-May-17 10:45 
AnswerRe: COleVariant to COLORREF Pin
_Flaviu13-May-17 22:17
Member_Flaviu13-May-17 22:17 
AnswerRe: COleVariant to COLORREF Pin
_Flaviu14-May-17 21:14
Member_Flaviu14-May-17 21:14 
QuestionArray of char* Pin
Django_Untaken12-May-17 0:54
MemberDjango_Untaken12-May-17 0:54 
AnswerRe: Array of char* Pin
Jochen Arndt12-May-17 1:23
professionalJochen Arndt12-May-17 1:23 
GeneralRe: Array of char* Pin
Django_Untaken12-May-17 2:29
MemberDjango_Untaken12-May-17 2:29 
GeneralRe: Array of char* Pin
Jochen Arndt12-May-17 2:35
professionalJochen Arndt12-May-17 2:35 
GeneralRe: Array of char* Pin
leon de boer14-May-17 17:15
Memberleon de boer14-May-17 17:15 
AnswerRe: Array of char* Pin
Huzifa Terkawi14-May-17 17:07
MemberHuzifa Terkawi14-May-17 17: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.