#include <iostream>#include <string> int main() { std::string nick = "123456789abcdef"; std::cout << nick.substr(0, 14); return 0;}
Standard input is empty
123456789abcde
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!