Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by ich ( 8 years ago )
int imageCount= 0;
std::stringstream ss;
std::string type = ".jpg";

        std::ss<<imageCount++<<type;
        std::string filename = ss.str();
        ss.str("");
std::stdout<<filename;

 

Revise this Paste

Parent: 91666
Your Name: Code Language: