User profile: cire

User info
User name:cire
Number of posts:5580
Latest posts:

Paper, rock, scissor game
Validating input should not be part of the game logic. That should be done (if it's going to be don...

strange compiler behavior on pointer type
[quote]I'm wondering why compiler changes p from type (*)[3] to type [3][3][/quote] The compiler doe...

Reference to array pointer issue
You're storing a reference to a pointer which isn't sticking around. Storing the pointer by value w...

An unusual data type... what do I use?
[quote]But usually what they say is not true when it comes to memory management (unless things have ...

Pointer problems: program randomly hangs.
A [tt]std::deque[/tt] wouldn't suffer from that particular issue. (Iterators may still be invalidat...