C
Chang
I wrote a C program only for calculation
using MS visual studio and run it in Windows.
With small size of variables, it runs o.k.
with large size of variables, however, it stop abnormally.
I guess it might come from memory leakage.
So, I check it out pretty throughly but I could not
find any memory allocation and free type problem.
so, I run it in Linux and it works fine with large size of variables
which are big enough to run for a day.
I understand C programs run same way in windows and Linux.
I am confused what make it happen.
Here is my questions,
Q1) What mistake might I make?
Q2) How come it doesn't have amy problem with Linux?
Q3) If it is still memory leakage problems, what is easier way
to detect them?
Q4) Is there any thing I need to consider to run C program in
different OS?
If you have any simliar experience, Please, give me some clue or
help?
Have a nice day.
And Thanks for your time.
Chang
using MS visual studio and run it in Windows.
With small size of variables, it runs o.k.
with large size of variables, however, it stop abnormally.
I guess it might come from memory leakage.
So, I check it out pretty throughly but I could not
find any memory allocation and free type problem.
so, I run it in Linux and it works fine with large size of variables
which are big enough to run for a day.
I understand C programs run same way in windows and Linux.
I am confused what make it happen.
Here is my questions,
Q1) What mistake might I make?
Q2) How come it doesn't have amy problem with Linux?
Q3) If it is still memory leakage problems, what is easier way
to detect them?
Q4) Is there any thing I need to consider to run C program in
different OS?
If you have any simliar experience, Please, give me some clue or
help?
Have a nice day.
And Thanks for your time.
Chang