maybe you'd try something like this:
std::vector< std::string *> screen;
std::string vertical_line; vertical_line.resize(cols);
std::string empty_line; empty_line.resize(cols);...
Type: Posts; User: rvr
maybe you'd try something like this:
std::vector< std::string *> screen;
std::string vertical_line; vertical_line.resize(cols);
std::string empty_line; empty_line.resize(cols);...
Do you still have
c += pad
inside the "else"-clause?
In your first code-snippet it wasn't inside...
r.
try using:
cout << greeting.c_str()
enjoy,
r