I'm rather new to C++ but not programming - I've done a fair bit of Java (making my own "game engine" of sorts), C# and Unrealscript (UDK). So I know a fair bit of the principles and the words.
In saying that, I think this might be a noob question, from what I've found on Google (more on that later). The issue I'm having is I'm getting an assert whenever I try and convert a sf::String to an std:string
Debug Assertion Failed!
Program: ...ML_StringAssert_TestCase\Debug\SFML_StringAssert_TestCase.exe
File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c
Line: 1424
Expression: _pFirstBlock == pHead
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
From what I could find on Google, the issue could lie with using the incorrect binaries; either having debug mixed with release or vis versa. I believe I've done the SFML setup correctly, but I will have another look.
My OS is Windows 7 Ultimate x64 (application is 32-bit), I'm using Visual Studio 2013 and I've made a minimal example:
#include <SFML\Graphics.hpp>
int main()
{
sf::String test = "test";
std::string convert = test;
return 0;
}
Of course that would work fine if its an issue with my dll setup, and tbh after looking at it as I write, I think its likely my end as I would think this would be a rather big thing.
Still any help would be appreciated - like I said I'm new to C++, so its highly likely I've missed something big.
Thanks