Hello,<br><br>Here are the improvements/corrections:<br><br>1) is_prime2 : Calculation of prime numbers using Sieve of Eratosthenes. Can be used to determine whether a number is prime (by uncommenting certain statements) , but is_prime should be used for that due to its superior efficiency.<br>
<br>2) is_square : O(1) routine to establish if a number is a perfect square<br><br>3) gcd : example string corrected (Uses Euclid's Algorithm)<br><br>Apart from these very basic routines, there are 5-6 numerical methods that I wish to add. I wanted to know If there could be a bit of STL ? Or strictly C ?<br>
<br><br>Thanks,<br>Rupinder<br>