StackOverflow Questions for Tag: getline

Scott Petrack
Scott Petrack

Reputation: 251

awk: Using getline to pipe the output of a command into an awk variable doesn't see the output

Score: 2

Views: 38

Answers: 1

Read More
Msj
Msj

Reputation: 11

C++ getline fails with "Success" :-(

Score: -4

Views: 811

Answers: 2

Read More
Mohamad Khalil
Mohamad Khalil

Reputation: 21

In what library or header file is the "getline()" function declared in?

Score: -2

Views: 135

Answers: 1

Read More
Tony Ma
Tony Ma

Reputation: 161

Why does std::ios_base::sync_with_stdio(false) make std::getline only read the first 509 characters in CLion?

Score: 0

Views: 217

Answers: 0

Read More
no-one
no-one

Reputation: 27

Why is my code jumping directly to the if (price == 0) statement and not first taking my input?

Score: 1

Views: 43

Answers: 0

Read More
user505180
user505180

Reputation: 31

getline on MacOSX 10.6 crashing C compiler?

Score: 3

Views: 1630

Answers: 2

Read More
joler
joler

Reputation: 37

Separating blank spaces from getline vs cin >> string

Score: 0

Views: 102

Answers: 1

Read More
Serafym
Serafym

Reputation: 1

GetLine mocking approach

Score: 0

Views: 21

Answers: 0

Read More
JJC
JJC

Reputation: 10033

Why is reading lines from stdin much slower in C++ than Python?

Score: 2195

Views: 317053

Answers: 11

Read More
Rache Bartmoss
Rache Bartmoss

Reputation: 31

issue handle returned buffer with consecutives newlines in my own get_line implementation

Score: 0

Views: 62

Answers: 1

Read More
Rache Bartmoss
Rache Bartmoss

Reputation: 31

Problem extracting a line from a buffer readed from a file descriptor

Score: 1

Views: 96

Answers: 1

Read More
jkeys
jkeys

Reputation: 3955

What are the rules of the std::cin object in C++?

Score: 4

Views: 37335

Answers: 2

Read More
Rocco Ruscitti
Rocco Ruscitti

Reputation: 17

std::getline() is not reading last line of input file that has no '\n'

Score: 1

Views: 4472

Answers: 1

Read More
rain
rain

Reputation: 55

Is using getline() in a while loop bad practice?

Score: 3

Views: 1289

Answers: 1

Read More
cheto59
cheto59

Reputation: 13

Is it unsafe to use getline() in c to read from stdin?

Score: 0

Views: 143

Answers: 1

Read More

How to getline from txt file and check if it is correct with what the user inputed

Score: 0

Views: 51

Answers: 1

Read More
Clay Freeman
Clay Freeman

Reputation: 543

Is it safe to use a file descriptor and its associated FILE* stream simultaneously?

Score: 1

Views: 303

Answers: 1

Read More
Bob Benson
Bob Benson

Reputation: 87

Getline is returning nothing but blank

Score: 0

Views: 12053

Answers: 2

Read More

Combined usage of getline, strcat and realloc functions

Score: 1

Views: 77

Answers: 1

Read More
klp
klp

Reputation: 21

How to split using getline() in c++

Score: 0

Views: 190

Answers: 2

Read More
PreviousPage 1Next