随笔分类 - 00.C/C++
摘要:Unreal Engine 4 减少编辑器的帧率C:\Program Files\Epic Games\UE_4.19\Engine\Config\BaseEngine.ini[/Script/UnrealEd.EditorEngine]SmoothedFrameRateRange=(LowerBo
阅读全文
摘要:1.解压tar -jxvf gcc-6.3.0.tar.bz2 -C ~/dev/2.下载前前提软件包cd gcc-6.3.0 ./contrib/download_prerequisitescd ..mkdir gcc-build-6.3.0cd gcc-build-6.3.0/../gcc-6.
阅读全文
摘要:工具环境: mac os, jdk, Android Studio, cocos2d-x-3.13.1, ant, android-ndk. 解压coco2d-x后,根目录下有 setup.py, 命令行输入: python ./setup.py,根据提示设置好环境变量. 1. 建立项目 命令行输入
阅读全文
摘要:http://www.mingw.org/wiki/msvc_and_mingw_dlls MinGW调用VC: The other way is to produce the .a files for GCC. For __cdecl functions (in most cases), it i
阅读全文
摘要:https://www.cygwin.com/ apt-get for cygwin? wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg install apt-cyg /binNow that apt-cyg is installed. H
阅读全文
摘要:http://stackoverflow.com/questions/3492739/auto-expanding-layout-with-qt-designer After creating your QVBoxLayout in Qt Designer, right-click on the b
阅读全文
摘要:http://doc.qt.io/qt-5/highdpi.html It is recommended to use the Fusion style. In order to get an application designed for low DPI values running on a
阅读全文
摘要:https://www.opengl.org/resources/libraries/glut/glut_downloads.phpAbout GLUT . . .GLUT (pronounced like the glut in gluttony) is the OpenGL Utility To
阅读全文
摘要:// CBird.h: interface for the CBird class.////////////////////////////////////////////////////////////////////////#if !defined(AFX_CBird_H__E26DE3B0_D...
阅读全文
摘要:#include #include #include #include #include #include #include #include #include using namespace std;void F(int a){ cout & vi){ coutvoid Print(T t){ ...
阅读全文
摘要:一时兴起,对Qt感了兴趣,决心想要研究一下。按网上资料配好环境,Windows 7 64bit + Qt 5.3.1 + VS2010.根据《C++ GUI Qt4 编程》这本书,写出了第一个程序HelloQt,程序如下:#include #include #if _MSC_VER >= 1600#...
阅读全文
摘要:#include #include #include #include #include #include #include using namespace std;using namespace boost;void double_int(int & i){ i *= 2;}int f(int a...
阅读全文