Skip to content

Instantly share code, notes, and snippets.

@JavaDeveloper
Created October 7, 2012 12:26
Show Gist options
  • Save JavaDeveloper/3848245 to your computer and use it in GitHub Desktop.
Save JavaDeveloper/3848245 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <stdio.h>
using namespace std;
const char BLACK_CLUB_SUIT[] = "\xe2\x99\xa3"; // \u2663
const char BLACK_HEART_SUIT[] = "\xe2\x99\xa5"; // \u2665
const char BLACK_DIAMOND_SUIT[] = "\xe2\x99\xa6"; // \u2666
const char BLACK_SPADE_SUIT[] = "\xe2\x99\xa0"; // \u2660
const char WHITE_HEART_SUIT[] = "\xe2\x99\xa1"; // \u2661
const char WHITE_DIAMOND_SUIT[] = "\xe2\x99\xa2"; // \u2662
const char WHITE_SPADE_SUIT[] = "\xe2\x99\xa4"; // \u2664
const char WHITE_CLUB_SUIT[] = "\xe2\x99\xa7"; // \u2667
int main(int argc, char* argv[]) {
cout<<"heard :"<<BLACK_HEART_SUIT<<" "<<WHITE_HEART_SUIT<<endl;
cout<<"club :"<<BLACK_CLUB_SUIT<<" "<<WHITE_CLUB_SUIT<<endl;
cout<<"diamond:"<<BLACK_DIAMOND_SUIT<<" "<<WHITE_DIAMOND_SUIT<<endl;
cout<<"spade :"<<BLACK_SPADE_SUIT<<" "<<WHITE_SPADE_SUIT<<endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment