CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: BertAndErnie

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    2,278

    MFC, invisible dialog app with timer

    Hello

    I'm making a MFC program that needs to start invisible, with a timer running. Then on timer expiry, if certain conditions are met, a dialog is supposed to display. I am trying a Dialog based...
  2. Replies
    6
    Views
    8,899

    Re: memory usage profiling

    Sorry I cannot help you much more.
    On Linux, with a simple test program, the VM size and RSS do not go down after the map is populated and then cleared. But, on subsequent population/clearing, the...
  3. Replies
    6
    Views
    8,899

    Re: memory usage profiling

    Hello jouke.postma
    I'ts not surprising that your program takes up more memory than just your small objects. A map is typically implemented as a tree structure, so there will be overhead for the key...
  4. Replies
    3
    Views
    1,185

    Re: could someone help me fix this?

    Oh, you have a temp declared at the top of the file, so the double temp declaration in the else clause has no effect in the calculation. It is created, assigned, and discarded in the else clause and...
  5. Replies
    3
    Views
    1,185

    Re: could someone help me fix this?

    This is what you need.


    double expectedpopulation (double years)// this is the recursion function
    {
    double temp;
    if (years == 0)
    {
    return population;
    }
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured