#include <iostream>
#include <sstream>
#include <cstring>
using namespace std;
int main()
{
stringstream s;
string a;
char *c="v1";
s<<c;
a=s.str();
cout<<a;
int i=strcmp(a.c_str(), "v1");
cout<<"i="<<i;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3N0cmVhbT4KI2luY2x1ZGUgPGNzdHJpbmc+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpCnsKICAgIHN0cmluZ3N0cmVhbSBzOwogICAgc3RyaW5nIGE7CiAgICBjaGFyICpjPSJ2MSI7CiAgICBzPDxjOwogICAgYT1zLnN0cigpOwogICAgY291dDw8YTsKICAgIGludCBpPXN0cmNtcChhLmNfc3RyKCksICJ2MSIpOwogICAgY291dDw8Imk9Ijw8aTsKfQ==