Pemroses File CSV
Pemroses file CSV sederhana: baca, tampilkan, hitung statistik kolom numerik, dan export hasil.
Build #
bash
makeRun #
bash
./program sample.csv 2Argumen kedua adalah indeks kolom (0-indexed) untuk dihitung statistiknya.
Test #
bash
make testStruktur Berkas #
csv_reader.h- model CsvRow, CsvTable, prototipe pembacaancsv_reader.c- parsing baris CSV dengan pemisah komaparser.h- prototipe parsing numerik dan agregasi statistikparser.c- konversi string-ke-double, statistik min/maks/avgmain.c- CLI pemroses file CSVtests.c- test runnersample.csv- data contoh