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

Managed C++/CLI

 
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 
Ok, i'll try to be as more specific i can.
When running the program the 1st time will appear on the screen a grid with numbers from 1-8 randomly. The user what have to do is to solve the puzzle, putting the numbers in ascending using either the arrows keys, either other keys which we'll define. Each time the user makes a move, a new grid will appeared on the screen.
My questions are:
1)Ok, i have to use a 2-d (3x3)array of type int and fill it with the numbers (let's say using rand()). But what about the element which has to be empty? I tried it and the compiler put a random number in the element which i didn't specify a value. So what i have to do in order to stay blank and recognize it as black?
2)i understand that i must use a function which will identify the legal moves that the user is able to do. But how? Is there a way to have direct access on the grid?
3)how the program will understand that the grid has been solved? the exercice was saying that numbers could be of the form 1 2 3
4 5 6
7 8
or of 1 2 3
8 4
7 6 5 .....
That's for now, i hope i wrote them in the proper way
thanks

chrizpl
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 
QuestionCCmdTarget destructor asserts while destroying sink object... Pin
chervu16-Feb-06 8:30
chervu16-Feb-06 8:30 
Questioncreating a student class Pin
civicrico2316-Feb-06 7:22
civicrico2316-Feb-06 7:22 
AnswerRe: creating a student class Pin
malharone16-Feb-06 7:36
malharone16-Feb-06 7:36 
QuestionLooking for help in program design Pin
ldsdbomber16-Feb-06 5:42
ldsdbomber16-Feb-06 5:42 
QuestionUndefined symbol Pin
Ed.Poore15-Feb-06 11:20
Ed.Poore15-Feb-06 11:20 
Question[Message Deleted] Pin
48d205815-Feb-06 4:59
48d205815-Feb-06 4:59 
AnswerRe: How to fix this bug? Pin
George L. Jackson15-Feb-06 12:49
George L. Jackson15-Feb-06 12:49 
QuestionUsing MemoryStream Pin
Daniel Odom14-Feb-06 11:28
Daniel Odom14-Feb-06 11:28 
AnswerRe: Using MemoryStream Pin
George L. Jackson15-Feb-06 12:56
George L. Jackson15-Feb-06 12:56 
QuestionSystem::Web::?? Pin
Ed K14-Feb-06 11:12
Ed K14-Feb-06 11:12 

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.