Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
replace digits
//g++ 7.4.0 #include <iostream> using namespace std; int main() { string S; char a,b; cin>>S>>a>>b; for(int i =0; i<S.size(); i++) if(S[i]==a) S[i]=b; cout<<S; }
run
|
edit
|
history
|
help
0
Handling new types without using RTTI
poprawione-obcinanie-koncowek.
cppPyGuessTheNum2
Изволов#2
Best way for getting more precision no.
Dar
temporaries and move constructor
Deepa
cppbasic
СПКИ АП КЭП 3