new szLine[120]; // though you'll probably need a ridiculous size for the linewhile(mysql_retrieve_row_format(szLine)) { // do your magic with sscanf here}