Advertisement

03.21.2008 at 03:42AM PDT, ID: 23259366
[x]
Attachment Details

How to find the processor architecture using C++ in Linux?

Asked by senthilkumarbill in Computer CPU Processors, Miscellaneous Hardware, Linux Programming

Tags: C++

Hi,

 i am trying to find out the processor architecture (x86/x64) of a system using C++ and Linux. I am able to find whether the particular processor is 64-bit capable or not. but i need the exact architecture like x86_64 as the result.

Can anybody help me out in this???

Thanks.Start Free Trial
[+][-]03.21.2008 at 05:38AM PDT, ID: 21179453

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.21.2008 at 08:51AM PDT, ID: 21180758

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Computer CPU Processors, Miscellaneous Hardware, Linux Programming
Tags: C++
Sign Up Now!
Solution Provided By: nixfreak
Participating Experts: 2
Solution Grade: B
 
 
[+][-]03.21.2008 at 02:58PM PDT, ID: 21183552

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.22.2008 at 12:55AM PDT, ID: 21185183

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.22.2008 at 01:01AM PDT, ID: 21185207

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628