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
Type: Posts; User: TJJ
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
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...
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...
Just saw anonytmouse's reply - Ill go and have a check with those ideas and see if it helps....
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,...
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...
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...
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. ...
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.
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...
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:
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...
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...
Thanks!
It was bound to be something simple! :)
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);