• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

Include character in c++

can we take input of a string/char value? if yes.. what's the code? help!

c++cpp
25th Dec 2017, 6:18 AM
Anmol
4 Answers
+ 9
getline(cin,variable_name); https://code.sololearn.com/cp32oQ9205NP/?ref=app
25th Dec 2017, 6:29 AM
Manual
Manual - avatar
+ 9
Cin https://code.sololearn.com/c8gEluQ8ipen/?ref=app
25th Dec 2017, 6:32 AM
Manual
Manual - avatar
+ 7
Scanf() https://code.sololearn.com/cZLBkotx6sNg/?ref=app
25th Dec 2017, 6:29 AM
Manual
Manual - avatar
+ 1
thanks!
25th Dec 2017, 6:31 AM
Anmol

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
[OFFICIAL] 💘 Valentine’s Day Coding Challenge 2026 is Here! 💘
26 Votes
Commencé pas apprendre quoi pour devenir développeur de jeu vidéo(avec de faible base en c et c++)
0 Votes
Tailwind css Or Bootstrap
0 Votes
Find user codes
0 Votes
More advice/help plz.
0 Votes
Tips for stayng consistent.
0 Votes
I understand matplotlib numpy pandas and more but why cant i create a game?
0 Votes
Anyone else not able to access courses?
1 Votes
Game making
0 Votes
Can someone make a link to a game website plz.
1 Votes