was doing an online C++ evaluation test this morning and the last question required calculating some fairly sizable values (permutations of lengthy strings). didn't need to print any strings, just calculate the number of possible permutations, where the final value could be considerably more than 20! (20 factorial). even using unsigned long long, some test data exceeded the data type. wasn't sure if the test wanted me to switch to double float, or take advantage of a multi-precision library, or what, but am i correct in that "unsigned long long int" is the best i can get in terms of maximum value for an integral data type in C++? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org To visit the archives: https://lists.linux-ottawa.org