开发者

Adding an icon to the windows console application

Is there any way to add an icon 开发者_C百科to a windows console application (that will be displayed in folders and in the task bar)?


Go to Project Properties and select an icon.


I realize that the OP spec'd C#, but I came here looking for the same answer for C+, so I thought I'd post that answer.
To set an app icon for a C++ console app, you add a .RC file to the project, then add an .ico to the .rc, then recompile. The .ico will automatically become the app's icon.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜