Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私が作りたいのは、C++ でボタン クリック時にランダムな回答を表示することです。char* で配列を作成できましたが、テキストボックスに表示できませんでした。(私はC ++が初めてです)
答えてくれてありがとう。
私が得たコード
Unicode 文字形式を使用していないため、これchar*を に変更しwchar_t*ます。
char*
wchar_t*
wchar_t* answers[7][40] = {L"hello",L"this",L"is",L"an",L"answer",L"randoms",L"stuff"};