Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
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 ! Smile | :)
Posted 7-Oct-12 6:40am
Comments
pasztorpisti at 7-Oct-12 16:39pm
   
You didn't even mention the platform that is a very important factor. You should use google to find the answer to such a question anyway.
Gangeshwar Krishna Murthy at 13-Oct-12 20:49pm
   
Platform is Windows(all versions)... Please help me !
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Start here[^].
  Permalink  
Comments
Gangeshwar Krishna Murthy at 7-Oct-12 12:44pm
   
Will this help in C++ ???
Wes Aday at 7-Oct-12 12:47pm
   
Had you even bothered to read it, you would have seen your answer, "WMI is designed for programmers who use C/C++"
Richard MacCutchan at 7-Oct-12 12:47pm
   
Why not go and read it.
Mohibur Rashid at 7-Oct-12 22:36pm
   
Richard,
Very useful answer. But it wont help OP. The reason is because of the mentioned Compiler, Turbo c++3.0, which does not have any proper library to access win32 APIs
 
So, adding with you I will suggest op to install express version of Visual C++
Richard MacCutchan at 8-Oct-12 3:21am
   
Interesting, but how do they write windows programs with it?
Mohibur Rashid at 8-Oct-12 3:36am
   
Who said they write windows program with it? The time it was developed windows didnt born
Richard MacCutchan at 8-Oct-12 3:48am
   
Given some of the other places I've seen it mentioned I thought it was a reasonable assumption.
Mohibur Rashid at 8-Oct-12 3:58am
   
In India, Bangladesh and Pakistan they study a book written by an indian writer, i forgot both names. This book was written targeting turbo c++ 3.0, so all the student from there has a tendency to get all the solution with Turbo C++ 3.0, I spend so many hours. .. I regret those lost times
Richard MacCutchan at 8-Oct-12 4:02am
   
It seems that far more of them (at least of those on CodeProject) are familiar with Visual Studio these days.
Mohibur Rashid at 8-Oct-12 4:06am
   
I blame their school, they suggest to go with it strongly
Prasad_Kulkarni at 8-Oct-12 2:09am
   
Yes, A +5!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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++..
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 9 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid