I have been working on a program for a while now and i was able to use system functions with my scripts but now I don't know why it is not working now. I have been looking at this code for a couple days now and even tried to work on a very basic system function and work my way back to more complex scripts. I still cannot get the simple function to work. I exhausted Google search in this lol. I just need another pair of eyes to look at it. lol. Here is the simple script...
include <stdio.h>
int main(void){
printf("hello world this is a test");
system("cmd.exe");
getchar();
return 0;
}
Thank you in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay i have been doing some more research and i believe that my code is correct. I think there might be an error with the function or compiler. Maybe it is just my bad eyes lol.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been working on a program for a while now and i was able to use system functions with my scripts but now I don't know why it is not working now. I have been looking at this code for a couple days now and even tried to work on a very basic system function and work my way back to more complex scripts. I still cannot get the simple function to work. I exhausted Google search in this lol. I just need another pair of eyes to look at it. lol. Here is the simple script...
include <stdio.h>
int main(void){
printf("hello world this is a test");
system("cmd.exe");
getchar();
return 0;
}
Thank you in advance.
Okay i have been doing some more research and i believe that my code is correct. I think there might be an error with the function or compiler. Maybe it is just my bad eyes lol.
Never mind i Figured it out finally.
All i needed was a break lol.