is something like this possible? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
21st May 2019, 7:59 AM
Cat Sauce
Cat Sauce - avatar
3 Answers
+ 1
~ swim ~ thank you
21st May 2019, 8:47 AM
Cat Sauce
Cat Sauce - avatar
0
Maybe is useful something like the following : #include <iostream> using namespace std; int main() { string a = {"ba"}; cout << a << endl; cout << a[0] << endl; cout << a[1] << endl; return 0; }
21st May 2019, 8:13 AM
Prokopios Poulimenos
Prokopios Poulimenos - avatar
0
Prokopios Poulimenos. im trying to make a letter string converter so you idea is not possible. in my code sertain letters need to be added to the string on sertain conditions
21st May 2019, 8:17 AM
Cat Sauce
Cat Sauce - avatar