连续输出多个逗号就行了
std::ofstream ofile("test.csv");ofile << "R,G,B,H,S,V,R,G,B,H,S,V,回归方程,R,G,B,叶a,b,叶黄素" << std::endl; // 第1行ofile << ",,,,,,,R,G,B,H,S,V" << std::endl; // 第2行