What algorithm could you use to detect whether you had a


Suppose you were working on a very large system that consisted of many .cpp files and the associated header files. Lots of libraries too, developed for the project.

a. What ADT structure could you use to represent all the files and their #include files?

b. What algorithm could you use to detect whether you had a cycle of dependencies between files? (Example: a. h includes b.h. b.h includes c.h, and c.h includes a.h.)

c. What algorithm could you use to show the order in which the files are included, and make sure that all the appropriate files are included. Justify all your answers to these questions.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What algorithm could you use to detect whether you had a
Reference No:- TGS02937927

Expected delivery within 24 Hours