Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-11-2011, 04:37 AM   PM User | #1
mikemrm
New Coder

 
Join Date: Mar 2009
Location: Texas
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
mikemrm is an unknown quantity at this point
Question Get Hardware information in c++

I'm trying to get specific hardware information like CPU name, motherboard maker and model, ram info, and so on

I'm trying to make this so i can add this information to a database

ive been looking through google and i found a few things but when i try to compile some sample code it pops up with intrin.h: no such file or directory found.

I'm extremely new to c++, is dev-c++ a good program, are there better ones and what should i be looking for to get this type of information
__________________
The Game
mikemrm is offline   Reply With Quote
Old 08-11-2011, 04:42 AM   PM User | #2
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
What platform does this program need to run on? Windows?
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Old 08-11-2011, 06:02 AM   PM User | #3
mikemrm
New Coder

 
Join Date: Mar 2009
Location: Texas
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
mikemrm is an unknown quantity at this point
yes it will run on windows
__________________
The Game
mikemrm is offline   Reply With Quote
Old 08-11-2011, 04:45 PM   PM User | #4
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Then you might want to take a look at the Windows Management Instrumentation (WMI): http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx and http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Old 08-12-2011, 01:58 AM   PM User | #5
mikemrm
New Coder

 
Join Date: Mar 2009
Location: Texas
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
mikemrm is an unknown quantity at this point
Alright thanks ill look into it, is there a specific c++ program you would recommend or is dev-c++ good?
__________________
The Game
mikemrm is offline   Reply With Quote
Reply

Bookmarks

Tags
c++, hardware, information

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:17 AM.


Advertisement
Log in to turn off these ads.