0

Is it possible to divide a string into 2 equal parts (of course if its length is an even number) in C++?

I am trying to divide a string into two smaller strings in c++. Is that possible and how?

22nd Aug 2019, 9:59 AM
Yavor Hristov
Yavor Hristov - avatar
2 Réponses
+ 4
Do you mean something like the following? https://code.sololearn.com/cvkn86ej70on/?ref=app
22nd Aug 2019, 10:13 AM
Shadow
Shadow - avatar
+ 1
Yes, thank you very much!
22nd Aug 2019, 10:15 AM
Yavor Hristov
Yavor Hristov - avatar