Simple CSV file handling in C++