Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C++
run program until ctrl-d c++
Nathan Hinchey
Programming language:
C++
2021-05-05 06:37:59
0
Q:
run program until ctrl-d c++
Kam
Code:
C++
2021-03-24 18:24:06
std::string line; while (std::getline(std::cin, line)) { std::cout << line << std::endl; }
0
Tags
run
program
Related
c++ input from terminal when program is called
command line options in c++
get input from command line and run command in c++
c++ create window
how to execute c++ program in cmd
run cmd command c++
single line if c++
how to print in new lines in C++
get line C++
how to hide the console c++
how to output to console c++
how to read a line from the console in c++
how to take input in C++ in coding
how to cout in c++
c++ how to use scanf
runtime error in c++
getline in c++
pause the console c++
New to Communities?
Join the community