Lesson 3 of 24
cin மற்றும் getline மூலம் Input
8 min 20 XP
cin >> x space அல்லது புதிய வரி வரை ஒரு மதிப்பைப் படிக்கும். Space உள்ள முழு வரிக்கு getline(cin, s). cin >> பிறகு getline பயன்படுத்தும் முன் cin.ignore() தேவை.
Example: edit me and press Run
Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.