c# Programming Glossary: ln
Program to find prime numbers http://stackoverflow.com/questions/1510124/program-to-find-prime-numbers formula for number of primes used here is x 1.26 x ln x . We only need to test by primes not greater than x sqrt num..
How to parse a text file in C# and be io bound? http://stackoverflow.com/questions/7153315/how-to-parse-a-text-file-in-c-sharp-and-be-io-bound 10 1000 1000 int readChars 0 int startIdx 0 fixed char ln buffer while readChars reader.Read buffer startIdx buffer.Length.. buffer startIdx buffer.Length startIdx 0 char pEnd ln readChars startIdx char pCur ln char pLineStart null while.. startIdx 0 char pEnd ln readChars startIdx char pCur ln char pLineStart null while pCur pEnd a 0 b 0 while pCur..
|