Save to *.csv from consol

I am trying to figure out how to save values from my program to a *.csv -file wich can be read and altered by other programs.

I did find somewhere a cin looking something like cin >> *.csv but this did not work. Does anyone know where I can get more information about this?

Thanks in advance!
Use std::fstream
Topic archived. No new replies allowed.