|
Prev: FAQ 5.24 How do I randomly update a binary file?
Next: Looking for a utility that lists all the functions under a preprocessing directive in a C++ file .
From: Avi on 18 Apr 2008 16:24 I'm looking for a utility that will scan a C++ file and list all the functions under a preprocessing directive. In the example code below: Upon request to list all the files under the preprocessing directive AAA the utiltiy should report foo1 foo2 Upon request to list all the files under the preprocessing directive BBB the utiltiy should report foo3 Thanks, Avi main() { } #ifdef AAA foo1() { } foo2() { } #endif #ifdef BBB foo3() { } #endif ----------------------------------------------------------- |