示例#1
0
        static void Main(string[] args)
        {
            string[] fileNames = new string[3];
            double[] Values1   = new double[100];
            double[] Values2   = new double[100];
            double[] Values3   = new double[100];

            fileNames = Config.getFiles(@"E:\C#\filesDemo\filesDemo\bin\Debug\Files\Filenames.config");

            Values1 = BinFile.getValues(fileNames[0]);
            Values2 = BinFile.getValues(fileNames[1]);
            Values3 = BinFile.getValues(fileNames[2]);

            Console.WriteLine(Values1[0]);
        }
示例#2
0
        // KAA: ganz eindeutig nicht genügend - ein schwerer Fehler nach dem anderen!
        //      die Datenstruktur des Baumes kommt nicht in einmal mehr vor!!!


        static void Main(string[] args)
        {
            string[]      fileNames = new string[3];
            List <int>    Int32     = new List <int>();
            List <double> Double    = new List <double>();

            fileNames = Config.getFiles(@".\Filenames.config");

            // KAA: SChleife!!!
            add(BinFile.getValues(fileNames[0]), ref Int32, ref Double);
            add(BinFile.getValues(fileNames[1]), ref Int32, ref Double);
            add(BinFile.getValues(fileNames[2]), ref Int32, ref Double);

            Console.WriteLine(DurchschnittInt(Int32));
            Console.WriteLine(DurchschnittDouble(Double));
        }