收集系统信息

问题描述:

我想在Turbo C ++ v3.0中设计一个C ++程序,该程序可以检索有关运行它的计算机的信息.我想显示OS Ver,CPU时钟速度,cpu日期和时间,RAM信息,硬盘信息等,请帮助我!
提前致谢 ! :)

I want to design a C++ program, in Turbo C++ v3.0, which retrieves information about the computer in which it is run.. I want to display OS Ver, CPU clock speed, cpu date and time, RAM info, Hard disk info, etc. Please help me!
Thanks in advance ! :)

开始 ^ ].


使用windows.h标头
你可以使用GetVersion();找到操作系统的版本.
有关系统信息:
SYSTEM_INFO SysInfo;
GetSystemInfo(& SysInfo);
有关更多详细信息,请参见MSDN;
我建议使用Visual Studio.我不确定Turbo C ++ ..
use windows.h header
and u can find os version by using GetVersion();
for sytem information:
SYSTEM_INFO SysInfo;
GetSystemInfo(&SysInfo);
for more details refer in MSDN ;
i am suggest for Visual Studio.i am not sure about turbo c++..