Click here to Skip to main content
12,689,801 members (25,098 online)
Rate this:
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 ! :)
Posted 7-Oct-12 7:40am
pasztorpisti 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 13-Oct-12 20:49pm
Platform is Windows(all versions)... Please help me !
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Start here[^].
Gangeshwar Krishna Murthy 7-Oct-12 12:44pm
Will this help in C++ ???
Wes Aday 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 7-Oct-12 12:47pm
Why not go and read it.
Mohibur Rashid 7-Oct-12 22:36pm
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 8-Oct-12 3:21am
Interesting, but how do they write windows programs with it?
Mohibur Rashid 8-Oct-12 3:36am
Who said they write windows program with it? The time it was developed windows didnt born
Richard MacCutchan 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 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 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 8-Oct-12 4:06am
I blame their school, they suggest to go with it strongly
Prasad_Kulkarni 8-Oct-12 2:09am
Yes, A +5!
Rate this: bad
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:
for more details refer in MSDN ;
i am suggest for Visual Studio.i am not sure about turbo c++..

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100