ashantimich1262 ashantimich1262
  • 02-03-2020
  • Computers and Technology
contestada

C++ Standard Library function ________, from the header, reads characters up to, but not including, a newline, which is discarded, then places the characters in a string.

Respuesta :

ijeggs
ijeggs ijeggs
  • 03-03-2020

Answer:

getline()

Explanation:

The getline() function in C++ programming language is found in the standard library belonging to the <string> header. It does a job similar to java's input.nextLine() method in the Scanner class which is to read a line of input and store in a String Variable. When this function is executes successfully, it will return a string comprising of characters including the newline but not with the terminatin null.

Answer Link

Otras preguntas

Define in your own words, define the terms genotype and phenotype
I need help e and g
Read the passage about Charlayne Hunter-Gault’s experiences. In her book, In My Place, Charlayne Hunter-Gault described falling asleep to the ''Southern lullaby
Julie’s friend decided to buy a jacket as well. The jacket that she bought, though, was not on sale. Julie’s friend’s jacket is priced at $45. If sales tax is 7
PLEASE HELP!! Evaluate the expression below using the properties of operations. Show all work. 18 ÷ (-⅔) x 4 ÷ (-7) x (-3) ÷ ¼
What is 3x+8=-10? Can someone help me?
quote two times Mr.johnson is kind to someone
The shopkeeper is furious about the mess in front of his shop. That means he is extremely angry. True or false? O TRUE e O FALSE
Please help me with this
HELLO IF YOU HELP ME I WILL GIVE YOU BRAINALIST WHAT DOES THIS MEAN I. BINARY??????. 01001000 01000101 01001100 01001100 01001111