I have been working on a simple calender program in C++ and I have come upon a problem with the getline operator. My problem is I want to be able to save a string to a specific point in an array of strings. So I use "getline(cin, tempbuff)" which should take whatever input from "cin >>" and store it in the string tempbuff. However, it's not storing anything in tempbuff after the cin>>. For better review, here is my source code -> www.geocities.com/neo_centre/source.html
If you would take a look at/or compile and run it you'd probably understand what I'm talking about. My problem occurs right before the end of main(). Any reply is appreciated. Oh and btw, you may notice that the libraries I'm using are referenced with '(' rather than '<'. This is because I had to change it cuz HTML wasn't understanding the greater than brackets. It thought they were HTML tags.
If you would take a look at/or compile and run it you'd probably understand what I'm talking about. My problem occurs right before the end of main(). Any reply is appreciated. Oh and btw, you may notice that the libraries I'm using are referenced with '(' rather than '<'. This is because I had to change it cuz HTML wasn't understanding the greater than brackets. It thought they were HTML tags.