English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Here is the implementation of Prim's algorithm, but it has some errors & doesn't work; 10 points for anyone who debugs it for me, I really need help:
http://www.brpreiss.com/books/opus4/programs/pgm16_16.cpp

2006-08-17 21:47:55 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

i can't make it if u can't give the full source code anyway this may be the possible errors on it

Error1error C2143: syntax error : missing ';' before '&'




Error2error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

Error3error C2143: syntax error : missing ')' before 'const'


Error4error C4430: missing type specifier - int assumed. Note: C++ does not support default-int


Error5error C2059: syntax error : ')'


Error6error C2143: syntax error : missing ';' before '{'

Error7error C2447: '{' : missing function header (old-style formal list?)

2006-08-17 22:04:50 · answer #1 · answered by Anonymous · 0 0

the program is just an implementation of prims algorhitm, it doesn't "do" anything. write main function, add classes that are missing (you'll find them in other programs relating graphs where you found prims algorhitm) - do your own homework!

2006-08-18 04:57:41 · answer #2 · answered by Bruno 3 · 0 1

Nik darling I would not doit for sloppy kiss from you. sorry 10 point for all the debug wow I B rich wid dat

2006-08-18 05:34:57 · answer #3 · answered by Joe_Young 6 · 0 1

for 10 points do u really think people wil break up their heads ??

go to C++ forums and ask this question... u will get many ppl to help u...

2006-08-18 04:54:38 · answer #4 · answered by Zombie.... 2 · 1 1

do not offer points you will be censured by the thought police

2006-08-18 04:54:25 · answer #5 · answered by lefang 5 · 0 1

fedest.com, questions and answers