Random memory questions

This is a discussion on Random memory questions within the Windows Programming forums, part of the Platform Specific Boards category; Well, I have alot of questions about memory, pagefiles ect. So, here's a random list of all of them. -If ...

  1. #1
    60% Braindead
    Join Date
    Dec 2005
    Posts
    379

    Question Random memory questions

    Well, I have alot of questions about memory, pagefiles ect. So, here's a random list of all of them.


    -If I have a pointer to a value of say 100 and I convert that dereferenced pointer to a string using a stringstream, will this be true? "100" = SSP
    SSP being the string stream pointer.


    -Are values base 16 (0-F) rather than 10 (1-9) in virtual memory?


    -How do I find how much pagefile my process has, and / or how much it is using?


    -What's the difference between ram and virtual pagefile?


    -Can I tell if a variable is the ram or if it's in the pagefile? Or are they always in one particular one?

    That's pritty much it, thanks for any answers in advance, I know it's quite a bit of knowledge I'm asking for .

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    If this is homework then you should do it yourself

  3. #3
    60% Braindead
    Join Date
    Dec 2005
    Posts
    379
    It's not. If this was homework, I'd drop out and take some prereq's so I'd know what I was doing.

  4. #4
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    -If I have a pointer to a value of say 100 and I convert that dereferenced pointer to a string using a stringstream, will this be true? "100" = SSP
    SSP being the string stream pointer.
    I don't think so.
    But on the other hand, you could make a program to figure that out.
    Last edited by Queatrix; 04-04-2007 at 10:37 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 09:47 AM
  2. tools for finding memory leaks
    By stanlvw in forum C++ Programming
    Replies: 4
    Last Post: 04-03-2009, 12:41 PM
  3. Shared Memory - shmget questions
    By hendler in forum C Programming
    Replies: 1
    Last Post: 11-29-2005, 02:15 AM
  4. Another brain block... Random Numbers
    By DanFraser in forum C# Programming
    Replies: 2
    Last Post: 01-23-2005, 05:51 PM
  5. Best way to generate a random double?
    By The V. in forum C Programming
    Replies: 3
    Last Post: 10-16-2001, 05:11 PM

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