User profile: mik2718

User info
User name:mik2718
Number of posts:347
Latest posts:

Problem using tgamma() function
tgamma returns a double so the first one casts it to an int, the second one doesn't

Replacing Permutations within a string
Binary counting will give you the combinations. e.g. 00000000 00000001 00000010 00000011 00000100 ...

whats wrong with my bool script?
should look like this [code] bool isPrime(int x){ int i; for (i=2; i<sqrt(x); i++){ ...

Exponential Power Function
well your code looks complicated - you only need one loop something like this [code] product = 1; ...

Piping with 2 processes in c++
not sure what you are doing but have you considered popen? You can put a pipe separated string of c...

This user does not accept Private Messages

User: mik2718

  • Public profile