This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
So I have a decent amount of experience with coding but I am almost completely brand new to C . I'm working on an assignment that has to do with a deck of cards, and I cannot for the life of me get the console to print the Unicode card suit symbols (♥♦♣♠). If I put them straight into the code, they get turned into question marks. If I try printing the unicode directly like cout << '\u0444'; they just print question marks. If I try using the _setmode code like _setmode(_fileno(stdout), _O_U16TEXT); it just makes my code break with some kind of Debug Assertion error regarding buffer size (I'd include an image but it won't let me). I've researched countless solutions and trudged through ancient forum posts but no one seems to have a definitive answer to this. Any help or just suggestions pushing me in the right direction would be greatly appreciated.
Subreddit
Post Details
- Posted
- 9 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/cpp_questio...