User profile: mik2718

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

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...

Sorting 2D points clockwise
When working with vectors (e.g. 2D vectors) it is good to use a vector class. Writing one is useful ...

This user does not accept Private Messages

User: mik2718

  • Public profile