Win-C++...%Number_Of_Processors%

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shing
    New Member
    • Mar 2007
    • 58

    Win-C++...%Number_Of_Processors%

    Hi! I'm currently trying to recreate my own version of CPUID's CPUz. Howewver, I'm unsure of how to implement this into my code...I tried using the system() call but then that shows this:

    '1' is not recognized as an internal or external command,
    operable program or batch file.
    1

    Can anyone show me how it can display the value "1" without showing the other stuff?
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    You shuld use system("echo 1") if u are using unix.


    Raghu

    Comment

    • shing
      New Member
      • Mar 2007
      • 58

      #3
      I am using a Windows based computer.

      Comment

      Working...