2015-12-19, 14:57
so today i tried c++ sfml today, and i made a window class. i made a pointer to a new sfml window to a m_window object, intellisense reports fine but when i try the code, this shit happens:
the code:
window.cpp
main.cpp
the code in red brackets is what the debugger tells me there is an error
any clues?
EDIT: Fixed it. Had to remove the type declarator before m_window in the constructor, that fixed it. inb4 the lock
the code:
window.cpp
main.cpp
the code in red brackets is what the debugger tells me there is an error
any clues?
EDIT: Fixed it. Had to remove the type declarator before m_window in the constructor, that fixed it. inb4 the lock