Click here to Skip to main content
15,885,757 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Message Only Window Error Pin
Peter Charlesworth20-Feb-06 6:47
Peter Charlesworth20-Feb-06 6:47 
QuestionPrint Combinations Pin
RockyJames18-Feb-06 9:48
RockyJames18-Feb-06 9:48 
AnswerRe: Print Combinations Pin
Michael Dunn18-Feb-06 11:18
sitebuilderMichael Dunn18-Feb-06 11:18 
AnswerRe: Print Combinations Pin
willbetter22-Feb-06 15:39
willbetter22-Feb-06 15:39 
Questionsrand( ) function Pin
chrizpl17-Feb-06 23:10
chrizpl17-Feb-06 23:10 
AnswerRe: srand( ) function Pin
George L. Jackson18-Feb-06 1:12
George L. Jackson18-Feb-06 1:12 
GeneralRe: srand( ) function Pin
chrizpl18-Feb-06 1:49
chrizpl18-Feb-06 1:49 
GeneralRe: srand( ) function Pin
George L. Jackson18-Feb-06 2:46
George L. Jackson18-Feb-06 2:46 
Sounds like a homework assignment and you are using native C++ (not C++/CLI). Since you can not check the array that has the numbers randomly placed without repeats. My suggested solution still stands with a modification. If the number range is 0 through 8, create a boolean array that holds 9 boolean numbers set to false. When your "srand function expression" creates a random number, check it against the array using its index. If the result is false, add the number to the random arranged array and set the indexed cell to true.

Think of your randomly arranged array as a shopping cart, and your shopping list is a list of numbers to be found and placed in the shopping cart. As you place the number in the cart, you scratch the number out so that you won't place that number in the cart again.

I gave you too much. If you can not figure out what I gave you. You need to review what you have not learned well.

-- modified at 9:00 Saturday 18th February, 2006
QuestionSpanning Tree Algorithm Implementation Pin
techno_brains17-Feb-06 4:30
techno_brains17-Feb-06 4:30 
AnswerRe: Spanning Tree Algorithm Implementation Pin
Cedric Moonen17-Feb-06 9:30
Cedric Moonen17-Feb-06 9:30 
AnswerRe: Spanning Tree Algorithm Implementation Pin
George L. Jackson17-Feb-06 12:07
George L. Jackson17-Feb-06 12:07 
QuestionGetting a list of controls from another process (application) Pin
Virtek17-Feb-06 3:21
Virtek17-Feb-06 3:21 
AnswerRe: Getting a list of controls from another process (application) Pin
Virtek17-Feb-06 7:38
Virtek17-Feb-06 7:38 
QuestionNumbering Puzzle in C++ Pin
chrizpl17-Feb-06 1:47
chrizpl17-Feb-06 1:47 
AnswerRe: Numbering Puzzle in C++ Pin
toxcct17-Feb-06 1:51
toxcct17-Feb-06 1:51 
GeneralRe: Numbering Puzzle in C++ Pin
chrizpl17-Feb-06 2:15
chrizpl17-Feb-06 2:15 
GeneralRe: Numbering Puzzle in C++ Pin
toxcct17-Feb-06 2:18
toxcct17-Feb-06 2:18 
GeneralRe: Numbering Puzzle in C++ Pin
chrizpl17-Feb-06 2:36
chrizpl17-Feb-06 2:36 
GeneralRe: Numbering Puzzle in C++ Pin
Cedric Moonen17-Feb-06 2:47
Cedric Moonen17-Feb-06 2:47 
QuestionHow to understand the macro Base_Offset? Pin
uglystone17-Feb-06 0:53
uglystone17-Feb-06 0:53 
AnswerRe: How to understand the macro Base_Offset? Pin
toxcct17-Feb-06 4:28
toxcct17-Feb-06 4:28 
QuestionZOOM in PICTUREBOX Problem !!!!!!!! Pin
hbjs16-Feb-06 19:46
hbjs16-Feb-06 19:46 
QuestionNative Types outside assembly Pin
Kordzik16-Feb-06 12:57
Kordzik16-Feb-06 12:57 
AnswerRe: Native Types outside assembly Pin
George L. Jackson16-Feb-06 13:02
George L. Jackson16-Feb-06 13:02 
GeneralRe: Native Types outside assembly Pin
Kordzik17-Feb-06 7:59
Kordzik17-Feb-06 7:59 

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.