How to find RAM configuration of a system by using C program ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zaigham abbas
    New Member
    • Aug 2010
    • 1

    #1

    How to find RAM configuration of a system by using C program ?

    How to find RAM configuration of a system by using C program ?Please Give me a working code.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    There is nothing in C that tells you the amount of RAM in your computer.

    You need to make an operating system call for this information and that call is different for different operating systems.

    If you are using Windows, check your Platform SDK for the correct call.

    Comment

    Working...