N
Neil Brown
Hello all,
Firstly sorry if this is the wrong ng - I think I've found the right one
I'm trying to call an exe file from c++,
#include "stdafx.h"
int main(int argc, char* argv[])
{
printf("Hello World!\n");
system("dir");
return 0;
}
I think I'm not using the right headers? I'm getting 'undeclared
identifier' when compiling - I don't have MSDN, and am trying to find
out which header files to use to get 'system' to work - is there a c
command reference on the web I can search? of course any search on the
web finds a lot of instances of the word 'system'
Many thanks in advance, I'm sure it's easier than I'm making it.
Firstly sorry if this is the wrong ng - I think I've found the right one
I'm trying to call an exe file from c++,
#include "stdafx.h"
int main(int argc, char* argv[])
{
printf("Hello World!\n");
system("dir");
return 0;
}
I think I'm not using the right headers? I'm getting 'undeclared
identifier' when compiling - I don't have MSDN, and am trying to find
out which header files to use to get 'system' to work - is there a c
command reference on the web I can search? of course any search on the
web finds a lot of instances of the word 'system'
Many thanks in advance, I'm sure it's easier than I'm making it.