completely forgot i was casting malloc to try to get everything in c++...but i learned to link sfml.cpp with the rest without needing that!