C++ topological sort


[ Follow Ups ] [ Post Followup ] [ Netlib Discussion Forum ] [ FAQ ]

Posted by Diana Marie on May 24, 1998 at 12:22:05:

In Reply to: LAPACK - dgesvx.f posted by Kendall Atkinson on November 21, 1997 at 00:07:44:

I am familiar with the programming language in C,
but then I dont know C++, I am having difficulty in doing a topological sorting program
in C++. I thought C & C++ are similar but when I compiled the C program, a message says that
parameter/declarations are obsolete.
I was hoping if you have a sample C++ algorithm
about topological sorting where vertices with no predecessors are picked
first from the AOV (graph)and diplayed on screen
so on..until the entire "Course or Process " is finished.
Thank you.
Sincerely (& desperate)
Diana


Follow Ups: