Off subject

Vincent Richomme forumer at smartmobili.com
Tue Jan 6 05:56:56 PST 2009


Hi,

sorry to ask my question here but since people are motivated by new 
language, source code, ... I thought it was a good place to ask my 
question about source code analysis.
I would like to know if there are some parsers/scripts that could parse 
some C/C++ language and that could insert printf in each function.

Actually I am trying to understand a huge program and debugging step by 
step would take me ages.
What I want is something like :

void myfunc(int aFoo)
{

...

}

I want a parser that could add

void myfunc(int aFoo)
{
fprintf(stderr, "myfunc(int aFoo)");
...

}



More information about the Digitalmars-d mailing list