Hello.
I don't know if following is possible.
I've got 'main_code.c':
............... .............
char * another_code;
another_code = "foo.c";
............... .............
I've got 'foo.c':
............... .............
#include <stdio.h>
int main()
{
printf ("Hello world from 'foo.c'!\n");
return 0;
}
............... .............
I would like to call 'foo.c' main function from 'main_code.c'.
Is this possible?
Thank you very much and best regards.
I don't know if following is possible.
I've got 'main_code.c':
............... .............
char * another_code;
another_code = "foo.c";
............... .............
I've got 'foo.c':
............... .............
#include <stdio.h>
int main()
{
printf ("Hello world from 'foo.c'!\n");
return 0;
}
............... .............
I would like to call 'foo.c' main function from 'main_code.c'.
Is this possible?
Thank you very much and best regards.
Comment