EDIT: This is my current code, I'm trying to change the numbers to words, but I'm getting several errors. What's wrong?
[code=cpp]#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;
int main()
{
cout << "Enter your date of birth: (YYYYMMDD)" << endl;
string dateofBirth("0");
cin >> dateofBirth;
Ok, well I noticed several errors...first of all, the ' ' around a symbol tells the compilier it is a character, use "" for a string. Secondly, if they put it in the format you tell them to, you will be getting lots of errors, since "01" != "1"...you are probably trying to do: