Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 19:56
Owner drawn29-Jan-06 19:56 
GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 20:02
eivanlo29-Jan-06 20:02 
GeneralRe: 2-dimensional arrays Pin
Prakash Nadar29-Jan-06 19:57
Prakash Nadar29-Jan-06 19:57 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 20:00
Owner drawn29-Jan-06 20:00 
GeneralRe: 2-dimensional arrays Pin
Prakash Nadar29-Jan-06 20:01
Prakash Nadar29-Jan-06 20:01 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 20:05
Owner drawn29-Jan-06 20:05 
GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 21:00
eivanlo29-Jan-06 21:00 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 21:09
Owner drawn29-Jan-06 21:09 
Yeah you are right this time. h is at (3,3)

eivanlo wrote:
since the letters A to H and the hole(h) are randomly generated, it means I dont know the exact location of the hole(h), how can I use the suggestion you gave me for swapping?


You have to loop through and find out where h is?

Jesus LovesRose | [Rose]
<marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#99ccff;border-bottom:thin solid 1px #6699cc">
--Owner DrawnRose | [Rose]
--Defeat is temporary but surrender is permanent
--Jesus is LordRose | [Rose]

GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 21:26
eivanlo29-Jan-06 21:26 
GeneralRe: 2-dimensional arrays Pin
eivanlo30-Jan-06 4:32
eivanlo30-Jan-06 4:32 
Question[Message Deleted] Pin
Hamid_RT29-Jan-06 18:24
Hamid_RT29-Jan-06 18:24 
AnswerRe: Hello Pin
Prakash Nadar29-Jan-06 20:00
Prakash Nadar29-Jan-06 20:00 
AnswerRe: Hello Pin
Eytukan29-Jan-06 20:39
Eytukan29-Jan-06 20:39 
QuestionChanging button text Pin
Learner200629-Jan-06 17:21
Learner200629-Jan-06 17:21 
AnswerRe: Changing button text Pin
Owner drawn29-Jan-06 17:25
Owner drawn29-Jan-06 17:25 
GeneralRe: Changing button text Pin
Learner200629-Jan-06 18:33
Learner200629-Jan-06 18:33 
AnswerRe: Changing button text Pin
Gavin Taylor29-Jan-06 17:28
professionalGavin Taylor29-Jan-06 17:28 
GeneralRe: Changing button text Pin
Ryan Binns29-Jan-06 17:43
Ryan Binns29-Jan-06 17:43 
GeneralRe: Changing button text Pin
Gavin Taylor29-Jan-06 17:48
professionalGavin Taylor29-Jan-06 17:48 
GeneralRe: Changing button text Pin
Learner200629-Jan-06 19:20
Learner200629-Jan-06 19:20 
GeneralRe: Changing button text Pin
Gavin Taylor29-Jan-06 19:33
professionalGavin Taylor29-Jan-06 19:33 
Question_variant_t to *Byte Pin
KifayatullahKhan29-Jan-06 17:17
KifayatullahKhan29-Jan-06 17:17 
AnswerRe: _variant_t to *Byte Pin
Aamir Butt29-Jan-06 22:24
Aamir Butt29-Jan-06 22:24 
QuestionDisabling Drag/Drop in the IWebBrowser2 Control Pin
Wolfram Steinke29-Jan-06 16:45
Wolfram Steinke29-Jan-06 16:45 
QuestionBase64 encoding in Visual C++ Pin
Syazarine29-Jan-06 16:39
Syazarine29-Jan-06 16:39 

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.