User profile: Stauricus

User info
User name:Stauricus
History
Joined:
Number of posts:95
Latest posts:

is this a safe way of creating binary file from vector?
you are right, i fixed it a little. the static cast from size_t really was an error, i changed the c...

is this a safe way of creating binary file from vector?
hello everybody i made a little program to create a binary file from elements in a vector. i'd like ...

how to define actions of a "Button" class?
the real class does have a bounding box. it is made in SFML, with a sf::Sprite, a texture reference,...

how to define actions of a "Button" class?
you're right, i've never thought about that :P i tried to use std::function anyway, just out of curi...

how to define actions of a "Button" class?
you mean i should create many derived classes, each one with a specific function? wouldn't that make...