abstract:
Can somebody tell me what I'm doing wrong since its not working but just highlighting the first line in red.
Very much appricate help & some explanation.
thks
Mike
Hi,
I'm new on delphi & I'm trying to do a simple program realted to the depth-first Search.
procedure Dfs( V : Vertex );
begin
Visited[ V ] := true;
for Each W Adjacent to V do
if not Visited[ W ] then
Dfs( W );
end;
end.
Can somebody tell me what I'm doing wrong since its not working but just highlighting the first line in red.
Very much appricate help & some explanation.
thks
Mike |