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.
通常、これはSetConsoleTextAttribute()テキストを書き込んでから行います。しかし、テキストが行に書き込まれた後に行の色を変更することは可能ですか?
SetConsoleTextAttribute()
いいえ。ただし、カーソルをその行に戻し、色を変更し、テキストを書き直してから、ジャンプする前にカーソルがあった場所に戻って書き直すことができます。
私は専門の C++ プログラマーではないので (今日は "Hello World!" の T シャツを着ていますが ☺)、何の助けにもなりません...