Love and save wild animals.
#include <esvcpp/core.hpp>
// Default Prompt esv::readline::readline() noexcept;
// Init customized Prompt esv::readline::readline(const std::string & prompt) noexcept;
// Change Prompt void esv::readline::setps(const std::string & prompt) noexcept;
// Read Input and Return the line string std::string esv::readline::read() noexcept;
// Read Input and Return the line string with the prompt std::string esv::readline::read(const std::string & prompt) noexcept;
// Get the line string std::string esv::readline::get() const noexcept;
std::string esv::readline::prompt; std::string esv::readline::line;
#include <esvcpp/core.hpp> int main() { esv::print( "Your Name is:", esv::readline("Please Input Your Name: ").read(), "\nHow are you." ); }
Please Input Your Name: Fas Xmut Your Name is: Fas Xmut How are you.