a
0
1
Jeżeli wiesz że scen będzie 4 to po co ten plik czytać? http://ideone.com/OkcaoV
#include <sstream>
#include <iostream>
using namespace std;
int main()
{
for(unsigned s=1;s<=4;++s)
{
for(unsigned u=1;u<=4;++u)
{
ostringstream ss;
ss<<"scena_00"<<s<<"_ujecie_00"<<u<<".jpg";
cout<<ss.str()<<endl;
}
}
return 0;
}
0
Ja chyba nie bardzo rozumiem jaki ty chcesz osiągnąć efekt. Tzn co dokładnie ma sie dziać? Jakie 4 identyfikatory? Przeczytaj ten post swojej mamie i spytaj czy rozumie o co ci chodzi.