#include <iostream> int main(){ std::string text; std::getline(std::cin, text, '#'); std::cout << text << std::endl; return 0;}
This is a test to see if newlines can be read# Nothing after this point should be shown
This is a test to see if newlines can be read
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!