• Welcome to Valhalla Legends Archive.
 

read new line

Started by SubLiminaL_WolF, May 13, 2003, 08:48 PM

Previous topic - Next topic

SubLiminaL_WolF

how would i get this code to read a new line for a proxy

   FILE *proxylist;
   proxylist = fopen("proxy.txt", "r");

   if(!proxylist){
      printf("proxy.txt not found\n");
      return 0;
   }
   char Proxy[16] = {0};
   if(reconnect == true){
      for(int i = 0;i <= 500; i++){
         if(!feof(proxylist)){
            fgets((char*)&Proxy, 16, proxylist);
         }
         reconnect = false;
      }

MrRaza

Open up your C book.

Banana fanna fo fanna

I know where you live.

SubLiminaL_WolF

omfg stop with the fuking comments just fucking answer my god damn question with a real answer not an obvious 1!!!