Skip to content

Instantly share code, notes, and snippets.

@scionwest
Created February 7, 2015 04:17
Show Gist options
  • Save scionwest/292575e5800fb8373a03 to your computer and use it in GitHub Desktop.
Save scionwest/292575e5800fb8373a03 to your computer and use it in GitHub Desktop.
StreamWriter singlePlayerOutputStream = null;
if (singlePlayer) {
Console.WriteLine (" midparse singlePlayer OK ");
// setup an additional file for the singlePlayerAnalytics
string singlePlayeroutputFileName = fileName + "." + map + "_"+singlePlayerID+".csv";
singlePlayerOutputStream = new StreamWriter (singlePlayeroutputFileName);
//And write a header so you know what is what in the resulting file
singlePlayeroutputStream.WriteLine (GenerateSinglePlayerCSVHeader ());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment