cin.getline() reads into a cstring which needs a null terminator. If you have a cstring size 50 then you can only read 49 characters into it in order to leave space for the null terminator.
What this does: Stores user input in the area of storage indicated by the parameter MayanNumber.
What it doesn't do: Modify the member named MayanNumber of the object it's invoked with.