User profile: firedraco

User info
User name:firedraco
Bio:Currently playing:
Persona 4: Arena (PS3), Diablo 3 (PS3)

Game Systems: PSX, PS2, PS2 (Japanese), PS3, Wii, PSP, DS Lite

PSN: RughSontos
Number of posts:6024
Latest posts:

Self taught, wondering why this isn't working
The problem is probably line 40: [code]icontainer = (icontainer ^ d) % (p * q);[/code] ^ is the bi...

array in c vs c++
In C, you can initialize single values with scalar types like so [code]int x = { 5 }; //same as int...

Beginners Exercise, move traps around
What he is saying is that srand() needs to NOT be inside the loop. You only need to seed the RNG onc...

[quote]then I can try to use the parts that are right.[/quote] Which you are supposed to know how? ...

Dynamically sized array of struct
The problem is with lines 25/28. You are mixing formatted and unformatted input. Line 25 will leave ...