Hallo ich habe ein Programm, das mehrere Daten in eine CSV Datei schreibt, leider verschluckt mir mein Programm die erste NULL bei Zahlen, wenn ich diese in eine Datei schreibe
hier ein BSP:
name,id:string
ofstream stream_outfile;
Outfile_name=Outfile_name + ".csv";
stream_outfile.open(Outfile_name.c_str(), ifstream::app);
stream_outfile << name
<< ";"<<id
Beim Debuggen sehe ich das in id 01234 steht in der CSV Datei steht aber leider nur 1234, woran kann das liegen ?
hier ein BSP:
name,id:string
ofstream stream_outfile;
Outfile_name=Outfile_name + ".csv";
stream_outfile.open(Outfile_name.c_str(), ifstream::app);
stream_outfile << name
<< ";"<<id
Beim Debuggen sehe ich das in id 01234 steht in der CSV Datei steht aber leider nur 1234, woran kann das liegen ?