1
Graphics / Re: LoadFromFile Crash
« on: May 20, 2013, 05:51:39 am »
I switched smart pointers and that solved it for the most part, so it was probably some memory leaks somewhere like you said. Thanks a lot.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Well for some reason the function he passes the string[] in to sees the string[] as a char and not a string so it won't compile...I see what you're saying. Allow me to explain. A std::string is nothing more than a character array. Therefore using the brackets on a string is simply accessing a specific element in the character array.
why are you making line a string then using [] on it?A string is simply an array of characters, so using [] on it will access a specific character inside of it.
Can you help me?No body is going to want to download your entire project and go through your entire code. Make a reduced code that still presents the error. Then C/P that code into here.
My project: https://dl.dropbox.com/u/38888521/sfml.zip
I am getting errors, so I can't make it work.
At the beginning, it freezes.
Goodbye!
"Hey look at my completly broken and rusty car! Could you please put some new shiny rims on it? I'll get the car fix later, but now I just need those rims!"LOL! Ricers!