Click here to Skip to main content
15,884,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can i change window title of SHBrowseForFolder Function. Pin
Le@rner4-Oct-09 22:21
Le@rner4-Oct-09 22:21 
GeneralRe: Can i change window title of SHBrowseForFolder Function. Pin
Stuart Dootson5-Oct-09 0:11
professionalStuart Dootson5-Oct-09 0:11 
QuestionWrong Output, Cant catch the mistake (DFS) Pin
zeego4-Oct-09 20:51
zeego4-Oct-09 20:51 
AnswerRe: Wrong Output, Cant catch the mistake (DFS) Pin
DeepakMega4-Oct-09 21:26
DeepakMega4-Oct-09 21:26 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
zeego4-Oct-09 22:30
zeego4-Oct-09 22:30 
AnswerRe: Wrong Output, Cant catch the mistake (DFS) Pin
Saurabh.Garg4-Oct-09 22:53
Saurabh.Garg4-Oct-09 22:53 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
zeego4-Oct-09 23:07
zeego4-Oct-09 23:07 
AnswerRe: Wrong Output, Cant catch the mistake (DFS) Pin
DeepakMega4-Oct-09 23:32
DeepakMega4-Oct-09 23:32 
Sry im not good at algorithms, when i ran your code in vs there was an error in
the 3rd line of the code below

root=queue[front];
for(i=1;i<=MAX;i++)
{
if (adj[root][i] && !visited[i])


ie : adj[root][i] , the root value was garbage,
and root=queue[front]; here front was 6 and queue[6] was uninitialized
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
zeego4-Oct-09 23:45
zeego4-Oct-09 23:45 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
zeego12-Oct-09 20:52
zeego12-Oct-09 20:52 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
DeepakMega12-Oct-09 22:17
DeepakMega12-Oct-09 22:17 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
zeego12-Oct-09 23:14
zeego12-Oct-09 23:14 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
DeepakMega12-Oct-09 22:48
DeepakMega12-Oct-09 22:48 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
zeego12-Oct-09 23:11
zeego12-Oct-09 23:11 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
DeepakMega12-Oct-09 23:45
DeepakMega12-Oct-09 23:45 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
zeego13-Oct-09 21:39
zeego13-Oct-09 21:39 
GeneralRe: Wrong Output, Cant catch the mistake (DFS) Pin
zeego12-Oct-09 23:38
zeego12-Oct-09 23:38 
QuestionVARIANT to CString Pin
Davitor4-Oct-09 20:28
Davitor4-Oct-09 20:28 
AnswerRe: VARIANT to CString Pin
Code-o-mat4-Oct-09 20:37
Code-o-mat4-Oct-09 20:37 
GeneralRe: VARIANT to CString Pin
Davitor4-Oct-09 20:41
Davitor4-Oct-09 20:41 
GeneralRe: VARIANT to CString Pin
Code-o-mat4-Oct-09 21:00
Code-o-mat4-Oct-09 21:00 
GeneralRe: VARIANT to CString Pin
Stuart Dootson4-Oct-09 22:13
professionalStuart Dootson4-Oct-09 22:13 
QuestionHow to pass the command to createprocess() Pin
WindowsVsLinux4-Oct-09 20:16
WindowsVsLinux4-Oct-09 20:16 
AnswerRe: How to pass the command to createprocess() Pin
Madhu Nair4-Oct-09 20:56
Madhu Nair4-Oct-09 20:56 
GeneralRe: How to pass the command to createprocess() Pin
WindowsVsLinux4-Oct-09 22:16
WindowsVsLinux4-Oct-09 22:16 

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.