Quoting strings in C++ -
    in pascal lazarus/delphi, have function quotedstr() wraps string within single quotes.   here's example of current c++ code:   //i need quote tblcustomers pqxx::result r = txn.exec( "select * \"tblcustomers\" ");    another one:   //i need quote ccustomername std::cout << "name: " << r[a]["\"ccustomername\""];   similar above, have double-quote strings. typing in kind of slowing me down. there standard function can use this?   btw, develop using ubuntu/windows code::blocks. technique used must compatible across both platforms. if there's no function, means must write one.          string str = "tblcustomers"; str = "'" + str + "'";   see more options here