#include<iostream>
#include<iomanip>
#include<cstring>
#include<cmath>
using namespace std;
int main(){
char a[9999];
bool b=0;
while(gets(a)){
for(int x=0;x<strlen(a);x++){
if(a[x]=='"'&&b==0){
cout<<"``";
b=1;
}else if(a[x]=='"'&&b==1){
cout<<"''";
b=0;
}else{
cout<<a[x];
}
}
cout<<endl;
}
system("pause");
return 0;
}
沒有留言:
張貼留言