Ok, I'm fairly new at this. I am trying to understand how variables work. So I am going by my book here and trying to write a simple birthday script.
It asks for your birthday you type it in like say if your birthday was march 7 1986 you type 03071986. Then it will repeat your birthday. Its a very simple concept.
Now, I got 2 questions.
1: Is it possible to store these numbers in a char so it can write mm/dd/yyyy or do I HAVE to use int?
2: This is where i'm lost. I am wondering how to make it so what the user typed is now the value of the variable. I figured it'd be something to do with the cin.getline() but i'm still unsure.
Any help you could give would be much appreciated.