Good evening, So i've this project to create a window where i can execute programs from. I'm really tired of searching so i decided to ask for someone's help. anyways i made a program that shows a window etc but my problem is that i want to execute some functions, such as printf("hello world!").. I dont' know how to bring that .exe file and i don't know how to put it, i've a feeling that i've to use createProcess but i don't know how to put it. To be more specific: i wanna execute this simple program on my window:
int n;printf("Enter an integer");scanf("%d",n);
for example, that's what i want. Hope that you get what i mean. Program used: Code::Blocks Language: C, not c++. Thanks.