Hello everyone! It's been inspiring watch everyone develop and experiment with my favorite console of all time.
I do have a question that's stumped me though; how do I actually use this highlighted character?
I've tried using "♠" in Visual Studio Code, but when I compile, I just get the following six lines instead (Pipe character added for comparison):
Is there a different ASCII code I should be using?
Also, thank you Stephane for developing and sharing SGDK!
How do I use the Spade character?
Moderator: Stef
-
- Interested
- Posts: 24
- Joined: Sun Feb 27, 2022 3:27 am
Re: How do I use the Spade character?
'z'+1 or {
-
- Interested
- Posts: 24
- Joined: Sun Feb 27, 2022 3:27 am
Re: How do I use the Spade character?
'z'+1 is a char, not a part of a string.
Code: Select all
const char foo[] = { 'h', 'e', 'l', 'l', 'o', 'z' + 1, '\0' };
-
- Interested
- Posts: 24
- Joined: Sun Feb 27, 2022 3:27 am
Re: How do I use the Spade character?
Oh, silly me. Thank you!