C ++-使控制台全屏显示吗? [英] C++ - Making the console fullscreen?

查看:110
本文介绍了C ++-使控制台全屏显示吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我现在很难过. Microsoft已从Win7中删除了全屏控制台功能,而这正是我正在运行的功能.现在,我正在研究诸如OpenGL或SDL之类的东西,以查看是否可以模拟控制台并将其全屏显示(并且我的意思是完全屏显没有窗口,边框或其他任何东西).是否可以在OpenGL或类似环境中模拟全屏控制台(如DOS)?

All right, I'm sad now. Microsoft has removed the fullscreen console feature from Win7, which is what I'm running. Now I'm looking into things like OpenGL or SDL to see if I can emulate the console, and make it fullscreen (and I mean FULLSCREEN no window or border or anything). Is it possible to emulate the console fullscreen (like DOS) in OpenGL or something similar?

推荐答案

尝试系统命令有点麻烦(系统(模式650");}示例:

try the system command it's a bit esier (system ("mode 650"); } example:

#include <iostream> 

using namespace std;
int main(){
system("mode 650");
system("pause");
return 0;
}

这篇关于C ++-使控制台全屏显示吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆