Hi, just wondering if anyone has Dev-C++ v4, why does the compiler not accept the following lines of code?...
system("pause");
system("cls");
system("telnet");
system("cmd");
etc...
Hi, just wondering if anyone has Dev-C++ v4, why does the compiler not accept the following lines of code?...
system("pause");
system("cls");
system("telnet");
system("cmd");
etc...
Code:#include<cstdlib>
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel
Hmmm do you mean its not accepting system()? Hmmm I never use system() so I expect to be flamed if this is not the correct header, but try including cstdlib
[edit]
beaten..drats. Well the upshot is i had the right header file
[/edit]