大変申し訳ありません. 間違いがあったので訂正致します. ○:「1, 0.1, 0.2, 0.3, 0.4」 ×:「0.1, 0.2, 0.3, 0.4」 inputのCSVファイルの1列目を消して「0.1, 0.2, 0.3, 0.4」のみにして以下のプログラムに修正しました. fscanf_s(swarminput, "%[^,],%lf,%lf,%lf,%lf", str, _countof(str), &input[0][0], &input[0][1], &input[0][2], &input[0][3]); X = input[0][0]; Y = input[0][1]; Z ...