I am working on a project that requires me to build a program that simulates particle aggregation. I have built the program. However when run on a windows machine it crashes for larger array size and number of particles. on linux machine for large numbers it runs for long time and eventually fails.
randwalk.c
the program crashes in the for loop beginning line 107 occasionally in the one begining 34. Any hints and tips would be great . Thinks guys