   i need some help
  i have this procedure. when i compile it no errors appear but when i run the program it doesn''t do what it supose to do. can somebody tell me what is wrong with it.   void clrscr(){#if defined (WINDOWS)    system("cls");#elif defined (LINUX)system("clear");#endif}
  Im not familiar with this stuff but it might be: void clrscr() {#ifdef WINDOWSsystem("cls");#else #ifdef LINUXsystem("clear");#endif}or if that doesnt work: void clrscr() {#ifdef WINDOWSsystem("cls");#endif#ifdef LINUXsystem("clear");#endif}and if that doesnt work, I have no other idea. Sorry I hope it works- BlueDev   [edited by - BlueDev on August 4, 2003 11:32:48 PM];  thanks, but it cuase a bad line command error ;  Just did some more research, #ifdef WINDOWS wont work, it has to be:#ifdef _WIN32Im not sure about Linux though but ill keep in touch if I find something. void clrscr() {#ifdef _WIN32system("cls");#endif#ifdef _LINUX// not sure about yet but it may very well work with the underscoresystem("clear");#endif}- BlueDev   [edited by - BlueDev on August 4, 2003 11:41:15 PM];  thamk. now i just need to see how to make work on linux ;  Does it say anything in some sort of documentation?   Scott SimontisBig Joke: C# 