[Dev-C++] SYSTEM() don't work in Dev-c++ ??
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Wendel <we...@ha...> - 2001-07-17 17:19:45
|
Hi,
I'm trying to use the system() function in dev-c++ ... but it don't work
....
I was trying of this mode:
#include <stdio.h>
#include <conio.h>
int main()
{
char var[15];
printf("\nType the environment that u want see the value: ");
scanf("%s",&var);
system("echo %s",var);
return(0);
}
Then when i try compile this program i get the error:
16 f:\dev-c_~1\untitl~1.cpp
implicit declaration of function `int system(...)'
Why ?? The system() is a function of stdio.h ?? why it don't work ... please
show me the correct mode ... if i'm making something wrong ...
thkz
Cheers
[ ]'s
|