have you tried it by yourself??? I'll be you havent.
Think about it.. if you know how many chars are for each thing, then you dont need a delimeter!!!
Code:
char buffer[3+2+1+10+1+1]; // extra one for null char
char memNum[4];
char areaCode[3];
char transDate;
char name[11];
cin.getline(buffer, sizeof(buffer));
strncpy(memNum, buffer, 3); // get the first three characters
memNum[3] = 0; // terminate the string
strncpy(areaCode, buffer + 3, 2); // next 2 chars
areaCode[2] = 0; // terminate the string
transDate = buffer[5];
strncpy(name, buffer + 6, 10); // the name
name[10] = 0; // terminate the string
I didn't compile this code.. but read and learn from it and try and make it work. i'm sure you'll figure it out...
next time, try and do it yourself first!
U.