Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

run program until ctrl-d c++

std::string line; 
while (std::getline(std::cin, line))
{
    std::cout << line << std::endl;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #program
ADD COMMENT
Topic
Name
2+2 =