the reference section on this site is great for this kind of info
http://www.cplusplus.com/reference/istream/istream/getline/ shows the definition istream& getline (char* s, streamsize n, char delim );
so pincode is the buffer, 7 is the streamsize (length of pincode) and # is the delimiter between numbers.