You can find cumulative distribution functions using integration, but there are direct methods that far more efficient and more accurate. For example, there is a library, DCDFLIB, for computing CDFs. It's available in C and Fortran here and in managed C++ here.