|    
			
				09/07/2008, 08:58
			
			
			  | 
  |   |  |  |  |  Fecha de Ingreso: junio-2006 
						Mensajes: 1.662
					 Antigüedad: 19 años, 4 meses Puntos: 28 |  | 
  |  Respuesta: Problemas con SHUTDOWN  
  
Código:
  #include <iostream>
#include <string>
#include <sstream>
int main(int argv, char *argc[])
{
   using namespace std;    
   string comando = "SHUTDOWN -s -t ";
   int segundos = 90;
   stringstream z;
   z << segundos;
   comando = comando + z.str();
  system(comando.c_str());
   return 0;
}
Saludos  
				__________________Si crees que no tiene sentido, etonces probablemente lo tenga... :arriba:
     |