我需要用存储在向量中的几个值来填充DataGridView in C++。但是,当我试图添加一个int时,它不会显示。employees.size(); i++) employeeDataGridView1->Rows->Add("hey");// "hey" is a const char[4] NOT a const* char[4] which is why using c_str() throws t
我有几个字符变量,其中包含各种字符,这些字符是由我创建的逻辑填充的。基本上,我正在寻找一种将这些添加到我已经创建的字符串中的方法,但我不知道如何用一种简单的方法来实现这一点,而不是将所有字符单独添加到字符串中,这特别慢。string test;...Some logic here to populate the chars
test += test1