String Input | cin Object , cin.getline() , cin.get() | in C++(Urdu/Hindi)
HTML-код
- Опубликовано: 27 окт 2024
- In this video, we will learn the following string input functions in C++.
The cin Object
cin.getline()
cin.get()
Hands-on practice using C++
1. Write a program that inputs the name of the user using cin object and displays it.
2. Write a program that inputs the name of user using cin.getline() function and displays it on the screen.
3. Write a program that inputs the name using cin.get() function and displays it.
Step by step explanation.
Easy to follow and understand.
www.itseriestu...
/ itseriestutor
#itseries#C++#string
Your wealth of knowledge and expertise has broadened my horizons and opened up new avenues of learning for me. Thank you for sharing your passion and insights with us.
I really apreciate that you explain it very easily sir
Nice ❤
very nice sir
Allah Hu Akbar 😊
sir operating systems of course bhi cover kardy please
I have an issue
While using getline function in output its not even asking name . I mean its directly shifting to further part of program without taking name . But when I don't use getline it works fine . Please give me soultion for this
For example
Cin.ignore();
Cout
@@fizzaawais7585 Thnaks broo it worked !!! :)
@@mr.victory. no problem 😊
@@fizzaawais7585 Damn man I had the same issue thanks it worked XD
bohot kammal
plz send me soultion past papers 12th class jo it series ky last me papers diye ha on ky Answer plz pdf give me
All the solutions are available in different chapters of the book. Please check long question, short questions and MCQ
@@ITSeriesTutor wo to itny question mcq ha find krny me bhe bhout time lgy ga