c++ - Adding file as header in source-source transformation using clang -


#include <stdio.h> int main(void) {   workfunc();   return 0; } 

i have sample code above, function being called in 'main' in header file 'header.h'. after transformation, code must like

#include <stdio.h> #include "header.h" int main(void) {   workfunc();   return 0; } 

please help. using clang, c++ coding , transformation code available in link

i recommend call along same way call header files program , should work.


Comments

Popular posts from this blog

angularjs - Redirect to a new template in angular js -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -