Search:

Type: Posts; User: TJJ

Search: Search took 0.01 seconds.

  1. Thread: Random Decimals

    by TJJ
    Replies
    7
    Views
    1,494

    Random Decimals

    Hi

    Ive found lots tutorials detailing how to create random integer values, but I was wondering how to create random decimal values between a range?

    Thanks for any help

    TJJ
  2. Thanks for your help Is there a way of making...

    Thanks for your help

    Is there a way of making the memory return to Windows quicker? Without any delete statements, it still seems to take a long time to properly close the program - is there a way...
  3. I had been looking at Memory Usage in Task...

    I had been looking at Memory Usage in Task Manager, but looking at VM Size it is doing the same thing.

    The VM Size goes high with the mem use but stays constant and high if I minimize or close...
  4. Just saw anonytmouse's reply - Ill go and have a...

    Just saw anonytmouse's reply - Ill go and have a check with those ideas and see if it helps....
  5. Thanks for all the replies I think Salems...

    Thanks for all the replies

    I think Salems reply fits what is happening - the memory usage always hits a peak then stays steady.

    Ive found that once the program hits the peak, if I minimize it,...
  6. Thanks for your reply I have been making sure...

    Thanks for your reply

    I have been making sure the entire array is deleted as you say but I still have huge memory use.

    At the moment, I have tried to delete pointers whenever Im not using them...
  7. Program uses a lot of memory and doesnt exit properly

    Watching my program in Task Manager it uses a lot of memory. Also when I exit the program (by clicking the X close buttion) the form disappears but it remains running in task manager and the memory...
  8. Replies
    1
    Views
    1,907

    Making an MFC form to suit

    Hi

    I have been playing with the MFC Appwizard to make forms but am having dificulty in making a form to suit my needs.

    I want the form to a be just like a 'dialog form' but with a status bar. ...
  9. Replies
    6
    Views
    7,850

    Thank you very much for your help - its working...

    Thank you very much for your help - its working great now - I opted for the pointers method as this used less code as long as I created all the checkbox controls sequentially.
  10. Replies
    6
    Views
    7,850

    Hi Thanks again for your help - much...

    Hi

    Thanks again for your help - much appreciated

    Ive had a go at getting everything straight in my mind:

    Im using MFC so I will make an array of checkbox control object instances, so I will...
  11. Replies
    6
    Views
    7,850

    Hi Thanks for your reply! Ive been having a...

    Hi

    Thanks for your reply!

    Ive been having a play with the code, but am having difficulties

    Ive tried getting the state of an individual checkbox by stating its handle explicitly:
  12. Replies
    6
    Views
    7,850

    Control arrays possible in C++?

    Hi

    Is it possible to have control arrays in C++? I have a lot of check boxes which I want to check the value of (ie checked or unchecked) and think that the easiest way to do this would be...
  13. Replies
    7
    Views
    7,329

    concatenating single chars to multi char arrays

    Hi

    I have a problem assigning a single character into a pointer and an array larger than 1 - I think I know why this is but I am unsure about how to overcome it...


    char TempChar[3]
    char...
  14. Replies
    4
    Views
    7,634

    thanks

    Thanks!

    It was bound to be something simple! :)
  15. Replies
    4
    Views
    7,634

    Printing single character from a string

    Hi

    I have a program where the user can enter a string of up to 100 chars which is stored in a variable


    char DataInput[100];

    printf("Please enter your data:\n");
    scanf("%s", &DataInput);
Results 1 to 15 of 15