Added readme and added output argument
This commit is contained in:
@@ -25,6 +25,8 @@ namespace TMI_practicum
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
if (args.Length > 1) OutputFile = args[1];
|
||||
|
||||
|
||||
(byte algorithm, _, IList<Circle> circles) = ParseFile(inputFile);
|
||||
|
||||
@@ -206,7 +208,7 @@ namespace TMI_practicum
|
||||
return (algorithm, nbCircles, circles);
|
||||
}
|
||||
|
||||
private const string OutputFile = "output.txt";
|
||||
private static string OutputFile = "output.txt";
|
||||
|
||||
private static void WriteOutput(IEnumerable<Intersection> intersections, double time)
|
||||
{
|
||||
|
@@ -25,7 +25,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
|
Reference in New Issue
Block a user