User profile: elohssa

User info
User name:elohssa
Number of posts:27
Latest posts:

Binary searching by a key containing two variables?
If these are 32 bit integers then just put them into a 64 bit integer. Loop through that array. Find...

Splitting numbers
Just use % and / interchangeably. [code] string s; cin>>n; do { s = atoi(n%10) + s; } whi...

problems with code
const double PI = 3.14; class Shape { public: virtual double SurfaceArea() = 0; virtual double Vol...

Why can't assembly be cross-platform?
"As far as I know, these functions are supported by most major compiler vendors:

Why can't assembly be cross-platform?
"This can be done neatly and efficiently with templates if the code doesn't need to be "patched" too...

This user does not accept Private Messages

User: elohssa

  • Public profile