User profile: mik2718

User info
User name:mik2718
History
Joined:
Number of posts:301
Latest posts:

pow() function
I would use value = (int)(pow(base,exponent)+0.5); The reason? casting to int does a truncate. i.e...

Adjacency matrix property
It often helps to work through a simple example take this graph [output]1 ------- 2 | | | ...

Creating an array of pointers to base class to point to derived class objects dynamicaly
pointers to a parent class can point to child classes - no casting needed (in fact this will throw a...

Inherritance Advice
Inheritance is about actions not data. It applies when you have different objects with the same act...

Translation Fortran >> C++
If you have the fortran source code you could try f2c on it http://en.wikipedia.org/wiki/F2c

This user does not accept Private Messages

User: mik2718

  • Public profile