Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

078274121, info0a ip, should prodicers of software_based services be held liable or not liable for economic injuries, should producers of soft ware based services such as ATMs be held liable for economic injuries suffered when their systems fail?, nisc wwwxxx, wwwxxx0cm, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, wwwxxx0cm, www.webdp.net, Event 9 IIS log failed to write entry

Links

XODOX
Impressum

#1: Looking for a utility that lists all the functions under a

Posted on 2008-04-18 22:24:25 by Avi

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

-----------------------------------------------------------

Report this message

#2: Re: Looking for a utility that lists all the functions under a preprocessing directive in a C++ fil

Posted on 2008-04-18 22:37:35 by Keith Keller

On 2008-04-18, Avi <avner-moshkovitz@shaw.ca> wrote:
> I'm looking for a utility that will scan a C++ file and list all the
> functions under a preprocessing directive.

Great! I assume you've started writing your own code, since this
newsgroup isn't your paid consultant. So post what you've written so
far, and people may help you fix it.

--keith



--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

Report this message