System memory size?

This is a discussion on System memory size? within the C Programming forums, part of the General Programming Boards category; Is there a way I can find the memory size of a user's pc? Thanks...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    8

    Question System memory size?

    Is there a way I can find the memory size of a user's pc? Thanks

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    381
    This would be os specific.
    For windows the closest function i can think of would be GetSystemInfo. It fills a structure with pretty much all the info that you see in the system information box.

  3. #3
    Unregistered
    Guest
    so what libraries would I need in windows? "windows.h"?

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    381
    yep
    you should probbly have a look on msdn for how it works.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems with shared memory shmdt() shmctl()
    By Jcarroll in forum C Programming
    Replies: 1
    Last Post: 03-17-2009, 10:48 PM
  2. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 08:32 AM
  3. BIOS system and memory allocation problem
    By beely in forum Tech Board
    Replies: 9
    Last Post: 11-25-2003, 06:12 AM
  4. Is it necessary to write a specific memory manager ?
    By Morglum in forum Game Programming
    Replies: 18
    Last Post: 07-01-2002, 01:41 PM
  5. Virtual Memory system
    By sicstus in forum C Programming
    Replies: 1
    Last Post: 05-20-2002, 04:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21