Are there some tips(script or command lines) to find useless header files in c or cpp files? For example: vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv #include <useful1.h> ... #include <useless.h>//<===how to find it by script ... #include <useful2.h> main() { ... } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Thanks in advance gan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com