wxWidgets 几个实用的系统函数
来源:互联网 发布:安装电视猫软件 编辑:程序博客网 时间:2024/06/05 10:36
http://www.cnblogs.com/godspeedsam/archive/2011/03/15/1984875.html
代码说话,各函数功能一目了然:
1 void shelltest() 2 {3 wxExecute(wxT("notepad.exe newfile.txt")); 4 } 5 6 void sysutils() 7 { 8 wxString output(wxT("Home dir:")); 9 output<<wxGetHomeDir();10 output<<wxT("\nOs Description:")<<wxGetOsDescription();11 output<<wxT("\nUse Name:")<<wxGetUserName();12 output<<wxT("\nUser Id:")<<wxGetUserId();13 output<<wxT("\nEmail Address:")<<wxGetEmailAddress();14 output<<wxT("\nFull Host Name:")<<wxGetFullHostName();15 output<<wxString::Format(wxT("\nFree Memory:%.2fG"),(double)wxGetFreeMemory().ToLong()/1024/1024/1024);16 output<<wxString::Format(wxT("\n64bit?%s"),wxIsPlatform64Bit()?wxT("Yes"):wxT("No"));17 output<<wxString::Format(wxT("\nLittle Endian?%s"),wxIsPlatformLittleEndian()?wxT("Yes"):wxT("No"));18 cout<<output<<endl;19 }
- wxWidgets 几个实用的系统函数
- wxWidgets 几个实用的系统函数
- 几个比较实用的函数
- 几个实用的自定义函数
- 几个比较的实用的函数
- 介绍几个实用的小函数
- MySQL的几个实用字符串函数 (转)
- mysql的几个实用字符串函数
- MySQL的几个实用字符串函数 (转)
- php 几个比较实用的函数
- Delphi,几个实用的HTML解析函数
- php几个比较实用的函数示例
- JS里面几个实用的封装函数
- 记录几个非常实用的js函数
- 分享几个实用的过滤函数
- php 几个比较实用的函数
- 几个简单又实用的PHP函数
- Windows 系统自带的几个实用网络工具
- Hibernate 异常:object references an unsaved transient instance - save the transient instance before fl
- 修改 EditText 中的光标位置
- OpenGL播放yuv视频
- VC函数中的延时操作
- Android 利用XmlParser解析assets目录下的xml文件
- wxWidgets 几个实用的系统函数
- mysql 修改索引时,外键约束造成的奇怪问题
- 程序设计的18大原则
- 使用spring mvc+ajax 响应报406错误解决方案
- Struts2 token的使用,避免表单重复提交
- flex Timer计时不精确
- document.createElement()的用法
- Java中基本数据类型和包装数据类型在Hibernate中使用
- VC内存泄露检查工具:Visual Leak Detector