-
comma seperated lists
Hi guys
In addition to my other query I have just found that I need to create comma seperated lists for a PSI file.
currently I have the following code
Code:
float x, y, z;
if (finput.is_open() && foutput.is_open()){
while (!finput.eof()){
finput >> x >> y >> z;
foutput << x << " " << y << " " << z << " " << 0 << " " << index << endl ;
index++;
}
However as you can see this is just space deliminated.
How do I create comma seperated files?
Cheers
-
-
> while (!finput.eof()){
This is wrong - read the FAQ