int file = open("test.csv", "rcsv"); //CSV読み込みモードでファイルを開く int n = countln(file); //行数をカウント for(int i=0; i