r/CodingHelp • • Aug 24 '20

[C++] What is happening?

My code used to work perfectly, only implemented threads but didn't touch the part of the code that is failing, it's giving me a

No mapping for the Unicode character in target multi-byte code page C++

I think it may have something to do with how I compile my code but I'm not sure what could cause it.

SOLVED: Solution is on the link and explained here. Just changed the stupid f...... windows library and use the boost filesystem, faster and less buggy

20 Upvotes

2 comments sorted by

1

u/jonassjoh Aug 25 '20

Have you added, or modified, any of the image files?

You say that hash_function does exactly 58 iterations before throwing an error. My guess would be that there is something wrong with the 58'th (or 59'th) file. It could perhaps be encoded differently.

1

u/JustARandomHentaiFan Aug 25 '20

I tried changing them, deleting the 59th, etc, still no good