Hello
I'm trying to zoom into a fractal and to do this I'm using mouse click to calculate where the centre should be and then taking away 1 from the right and top and adding 1 to the left and...
Type: Posts; User: Valdo
Hello
I'm trying to zoom into a fractal and to do this I'm using mouse click to calculate where the centre should be and then taking away 1 from the right and top and adding 1 to the left and...
"Windows has triggered a breakpoint in algorithm.exe.
This may be due to a corruption of the heap, which indicates a bug in algorithm.exe or any of the DLLs it has loaded.
This may also be...
Had to make a path finding program using the a* algorithm but when I compile it just crashes, anyone got any idea where I'm going wrong?
Cheers
Right I'll try adding a new class, and change the main() to int... Using an array or vectors for the player is hard for me I'm just learning that. I just need it working for two players. And the last...
Thanks alot for helping me!
Here's my classes attempt:
#include <iostream>#include <ctime>
class dartist{
public:
So I don't need to re-write all my code? Just re-position it?
Okay I did what you said and created a class game, in my main I put my counters. Having some problems with he players though, I've got...
Basically a game of 301 darts and both players need to get to 0.
#include <iostream>#include <ctime>
int BullFunction(int percent) // throw dart function
{
int r = rand()%100;...
" it will probably be easy" haha! not so sure :-).
Thanks for the suggestions, any chance I could send you my code then? Just so you could see whether it's going to be possible or I might need to...
I had to write a simple program using functions in C style now I need to re-write my current program using classes in C++ style. I have no idea where to begin, my code is only like 100 lines though...
Hello,
Just a beginner! I've got a darts game between two players. I need to work out how many games player 1 wins and player 2 wins out of 1000 games if there is a coin flip and thereafter the...
Would I have this inside my while loop? Is there any way I could send you my code I think I might be going wrong somewhere...
Thanks alot
Hello guys,
I've got a Darts program at the moment and it calculates how many throws were needed to go from 301 to 0.
I need to work out how to calculate the average of game frequency (how many...
Hello!
I'm trying to make a bulls function! On average I would like it to hit the Bull 70% of the time and the other 30% (miss) between 1 to 20. As you can see I have the basic code, but I'm just...