如何在C语言中设置控制台窗口标题?
printf("%c]0;%s%c", '\033', "My Console Title", '\007');
这只适用于Linux,而在Windows下不可行。
有没有人知道一个“跨平台”的解决方案?(当然不能是system ( title=blah )
)