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.