c++ cli - How to change a system::string from a combo box to a char -
c++ cli - How to change a system::string from a combo box to a char -
char addprt_lines[2]; system::string^ numberoflines = this->combobox1->selecteditem->tostring(); sprintf(adpt.addprt_lines, "%u", (numberoflines));
hello,
i want user able pick number combobox has values 6-9 in it.
i want selection used adpt.addprt_lines value is.
so how create selection char can utilize it?
tia
i using c++/cli
no thought trying do. if want store combobox selected item in char, :
char addptr_line; system::string ^numberoflines = this->combobox1->selecteditem->tostring(); addptr_line = system::convert::touint32(numberoflines); system::console::writeline(addptr_line); c++-cli
Comments
Post a Comment