[TC] Gaming Forums

Full Version: C++ problem I'm having
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:
[Image: wKN1KDS.jpg]

the code:
window.cpp
[Image: rA4Wt3u.jpg]

main.cpp
[Image: qpkE1R5.jpg]

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
Moved to correct location. Glad you solved your problem. Smile
Reference URL's