You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <stdio.h>
|
|
|
|
int main(int ac, char** av)
|
|
{
|
|
FILE* fout = fopen(av[1], "w");
|
|
printf("create %s\n", av[1]);
|
|
if(!fout)
|
|
{
|
|
return -1;
|
|
}
|
|
fprintf(fout, "#include <bar.h>\nBAR_EXPORT int bar(){ return 10;}\n");
|
|
fclose(fout);
|
|
return 0;
|
|
}
|
|
|