Click here to Skip to main content
14,303,800 members

Managed C++/CLI

 
GeneralRe: using 'mkdir' for creating new directory Pin
PIEBALDconsult3-Aug-15 6:16
protectorPIEBALDconsult3-Aug-15 6:16 
AnswerRe: using 'mkdir' for creating new directory Pin
Wes Aday3-Aug-15 9:26
professionalWes Aday3-Aug-15 9:26 
Questionadding pointer arrays Pin
Member 935023729-Jul-15 22:09
memberMember 935023729-Jul-15 22:09 
AnswerRe: adding pointer arrays Pin
Richard Andrew x6430-Jul-15 9:29
professionalRichard Andrew x6430-Jul-15 9:29 
AnswerRe: adding pointer arrays Pin
Richard MacCutchan30-Jul-15 21:26
protectorRichard MacCutchan30-Jul-15 21:26 
GeneralRe: adding pointer arrays Pin
Member 935023730-Jul-15 21:51
memberMember 935023730-Jul-15 21:51 
GeneralRe: adding pointer arrays Pin
Richard MacCutchan30-Jul-15 22:16
protectorRichard MacCutchan30-Jul-15 22:16 
GeneralRe: adding pointer arrays Pin
Member 935023730-Jul-15 23:16
memberMember 935023730-Jul-15 23:16 
Thanks a lot!!,

I'm wondering how to set random zeros and ones to pBool pointer!

you mean
pBool = rand()%2;

Still bit confused!

As I mentioned , for each set I have 12 numbers, out of which 10 numbers 'must' be 1 and 2 0s have to be put randomly into this block of ones, so total of 12: One set should be like this
{1,1,1,1,0,1,1,0,1,1,1,1,...} and in the 2nd set there must be 10 ones and 2 zeros , but position of zero will be different.

will be great if you can help me out on this!
GeneralRe: adding pointer arrays Pin
Richard MacCutchan30-Jul-15 23:42
protectorRichard MacCutchan30-Jul-15 23:42 
GeneralRe: adding pointer arrays Pin
Member 935023731-Jul-15 0:34
memberMember 935023731-Jul-15 0:34 
GeneralRe: adding pointer arrays Pin
Richard MacCutchan31-Jul-15 0:36
protectorRichard MacCutchan31-Jul-15 0:36 
QuestionDeclaration terminated incorrectly Pin
Pramitha P Kamath27-Jul-15 8:35
memberPramitha P Kamath27-Jul-15 8:35 
AnswerRe: Declaration terminated incorrectly Pin
Wes Aday27-Jul-15 8:59
professionalWes Aday27-Jul-15 8:59 
GeneralRe: Declaration terminated incorrectly Pin
Pramitha P Kamath30-Jul-15 8:46
memberPramitha P Kamath30-Jul-15 8:46 
AnswerRe: Declaration terminated incorrectly Pin
Richard MacCutchan30-Jul-15 21:14
protectorRichard MacCutchan30-Jul-15 21:14 
Questionc++ Pin
Member 1184600721-Jul-15 21:43
memberMember 1184600721-Jul-15 21:43 
AnswerRe: c++ Pin
Richard MacCutchan21-Jul-15 21:53
protectorRichard MacCutchan21-Jul-15 21:53 
GeneralRe: c++ Pin
Sascha Lefèvre25-Jul-15 12:39
professionalSascha Lefèvre25-Jul-15 12:39 
QuestionRe: c++ Pin
Paul Conrad13-Oct-15 7:20
professionalPaul Conrad13-Oct-15 7:20 
Questionc++ Pin
Member 1184600721-Jul-15 21:19
memberMember 1184600721-Jul-15 21:19 
AnswerMessage Closed Pin
21-Jul-15 21:30
professionalden2k8821-Jul-15 21:30 
GeneralRe: c++ Pin
Richard MacCutchan21-Jul-15 21:54
protectorRichard MacCutchan21-Jul-15 21:54 
AnswerRe: c++ Pin
den2k8821-Jul-15 22:02
professionalden2k8821-Jul-15 22:02 
RantRe: c++ Pin
Richard Deeming22-Jul-15 1:22
mveRichard Deeming22-Jul-15 1:22 
QuestionAdd a dll file to using VC++ and use its functions Pin
ktnk19-Jul-15 3:03
memberktnk19-Jul-15 3:03 

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.