$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-07-07 08:10:29
On Jun 28, 2005, at 5:05 PM, Vivid Yang wrote:
> Hi,
>
> Does anybody has experience in applying
> johnson_all_pairs_shortest_paths
> under WINDOWS? Examples would help me a lot.
>
> I have difficulties in compiling the johnson_all_pairs_shortest_paths
> example in the library: example/johnson-eg.cpp
>
> The code
>
> D[id2[*u]-1][id2[*v]-1] = get(d, *v) + get(h, *v) - get(h, *u);
>
> has error:
>
> "subscript requires array or pointer type"
Which compiler are you using?
Doug