   how do you use  wherex
  void display_line(){int width=80;int i=0;int x = wherex();int y = wherey()+1;x=40;for(int k=0;k<40;k++){//DELAY;gotoxy(x+k,y);std::cout<<(char)240;gotoxy(x-k,y);//DELAY;std::cout<<(char)240;}std::cout<<"\n";}this just gives me a linker error 
quote:Original post by kingpinzs   void display_line(){int width=80;int i=0;int x = wherex();int y = wherey()+1;x=40;for(int k=0;k<40;k++){//DELAY;gotoxy(x+k,y);std::cout<<(char)240;gotoxy(x-k,y);//DELAY;std::cout<<(char)240;}std::cout<<"\n";}this just gives me a linker error   what is the linker error?   [edited by - DerAngeD on February 9, 2004 9:13:29 PM];[Linker error] undefined reference to `wherex'' [Linker error] undefined reference to `wherey'' [Linker error] undefined reference to `gotoxy'';  Those functions would seem to be a part of conio, which is a nonstandard header.Without telling what compiler your using we can''t help you at all. (I''m guessing MinGW - if your using Dev-C++ you can add conio.c to your project) ;quote:Original post by UberGeek  Those functions would seem to be a part of conio, which is a nonstandard header.Without telling what compiler your using we can''t help you at all. (I''m guessing MinGW - if your using Dev-C++ you can add conio.c to your project)   noNOno! conio.c is written like a header! you just need to #include <conio.c> before #include <conio.h>    ;  that fixed it thanks.I was using conio.hI changed it to conio.c and it works fine nowI am using dev-cpp 