Anybody knows a good tool that removed unneeded #includes from large projects?
Anybody knows a good tool that removed unneeded #includes from large projects?
PC-lint won't remove them, but it will tell you which ones are unnecessary.Code:#include <stdio.h> int main(void) { return 0; }test.c 10: [766 Info] Header file 'C:\Borland\BCC55\Include\stdio.h' not used in module 'test.c'
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
thats a good tool has some good features
ssharish2005
I'd really like FlexeLint, but it's unbelievably expensive. I'm not sure why PC-Lint is so much cheaper. Makes it almost worth installing a DOS/Windows machine here just to run it.