I am trying to write a C++ Console based application which collects and popul开发者_StackOverflowates each characters typed in the console to a std::vector <char *> asynchronously without blocking the user
Can anyone help me in how to populate each char entered in std::vector <char *> .
John
You dont need to do it asynchronously.
std::vector<char> foo;
void populate(char a)
{
foo.push_back(a);
}
加载中,请稍侯......
精彩评论