long int??? for what??? sorry i didnt get ur point..
i m using double to store the number of total permutation and an integer array[n] to store different permutations of n numbers...
Doubles are inexact. You can't have 2354.34 permutations. Therefore double is a bad choice.
And how will long int affect the running time of my program...
Floating point takes longer to compute. Granted in this program it may not make a noticeable difference...also changing the memory model to large or huge...
i m using Dev-C++..where does this model means??? how to change it??
It doesn't.Jishnu obviously thinks you're using a very old compiler.
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944