I've been learning the basics of SFML library,and i want to load a texture and make a sprite, i write the code and run it, and the window pops up(white color)
and an error message appears saying ConsoleApplication4.exe has stopped working, and most of the times there is a strange beeping noise too, and sometimes the console box has some strange symbols in it.Please help!Here is my code:
Comment out means to prep-end "//" to the beginning of a line of code so that the compiler ignores it, but the code still remains so that you don't have to type it again. My guess though is that your code is failing because your texture doesn't load. Comment out (as described above) Line 13 and tell us what happens.
Computergeek01 I tried commenting it out, I even tried erasing it, nothing changes.
Superdude how do i do that, if you could provide me with an example using my own code, that would be greatly appreciated.