Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/06/2013, 11:17
Lotux5
 
Fecha de Ingreso: enero-2013
Mensajes: 25
Antigüedad: 11 años, 8 meses
Puntos: 0
Duda sobre ficheros.

Mi duda consiste en que quiero hacer un bucle el cual cree ficheros, pero no se como nombrarlos con una variable.
Ejempo:
Código C++:
Ver original
  1. int i=1;
  2. while (!fi.eof()){
  3. fo.open(argv[1] << "_" << i)  //El problema sería éste.
  4. i++
  5. }