16 int main(
int argc,
char* argv[])
24 JParser<> zap(
"Auxiliary program to echo (reverted) string.");
30 catch(
const exception &error) {
31 FATAL(error.what() << endl);
37 while (
getline(cin,buffer) && buffer !=
"") {
40 reverse(buffer.begin(), buffer.end());
42 cout << buffer << endl;
int main(int argc, char *argv[])
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Utility class to parse command line options.
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.