Lesson 12 of 24

string Class, String പ്രശ്നങ്ങൾ

10 min 30 XP

C++ strings-നൊപ്പം length(), substr(pos, len), find(), replace(), ചേർക്കാൻ +=, താരതമ്യത്തിന് == എന്നിവ വരുന്നു. reverse(s.begin(), s.end()) string തിരിച്ചിടുന്നു.

Example: edit me and press Run

Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.

Challenge

+30 XP

getline ഉപയോഗിച്ച് ഒരു വരി വായിക്കൂ. ഓരോ വാക്കിന്റെയും ആദ്യ അക്ഷരം capital ആക്കി ബാക്കി lowercase ആക്കൂ. Input: lEARN c++ AT skill park Output: Learn C++ At Skill Park

Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.