Hello,
I'm new here. I've been working on a card game program for some time now and I'm just trying to make it look appealing. I would like to try and find a way so that certain characters (heart, diamond, spade, and club) rotate in one position. What I mean is that there's one spot that only one character can fit, lets say it's []<---right there and I want to have a heart flash and then disappear and then a diamond flash and then disappear..etc. Sorry if this is incredibly confusing...it's really hard to explain. I figure I have to use a loop of some sort but I have no idea how to even begin tacklingthis problem. This is the part of code that concens this problem:
#include <iostream>
using namespace std;
const char heart = 3, diamond = 4, club = 5, spade = 6;
int main()
{
cout << heart <<endl;
return 0;
}
that simple code outputs a heart symbol..i want the program to output a heart then a diamond then a spade and then a club. Any help would be appreciated.
-John