I am a beginner C++ student making a basic card dealing program. I am using Microsoft Visual Studio to write my program. I have finished my assignment, but all the suit symbols (♥♦♣♠) appear as rectangular question mark boxes in cmd.exe. Does anyone have advice on how I can fix this? Any help would be greatly appreciated.
The problem is that the console font may not provide these symbols. Further more: The font you use to compile your program might not be the font shown in the console.
Consider restricting the characters that a program uses to those in the basic execution character set.
For instance, use H, D, C and S as the symbols for the four suits.