User profile: fafner

User info
User name:fafner
History
Joined:
Number of posts:250
Latest posts:

So confused with classes
[code] void fleet::deployFleet(void){ int i=0; while(i<fleetSize){ ships[i].loc.pick(); } ...

Help Please.
this works on my end: [code] #include <iostream> using namespace std; int main () { float v = 0; f...

Help Please.
[code] float v = 0.0; for(int i = 2; i <= 10; i++) { v += 1/i; }[/code]

OOPS Problem when i separating interface from implimentation
Are you trying to compile the files separately?

Passing an array from class to function
Do you have an instance of the Dice-class? The correct way to call that function would be something ...