8000 Adds cell to a row when you mmap() then std::cout froma file · Issue #50 · p-ranav/csv2 · GitHub
[go: up one dir, main page]

Skip to content

Adds cell to a row when you mmap() then std::cout froma file #50

Open

Description

@Ben-Benevolent

I created a .csv file with the following content, as a test to see if the program works:

title_of_the_file,
theremin_players, ,10,20,30,40,50,60,70,80,
violin_players,80,70,60,50,40,30,20,10,

Upon using csv2, I found it to be very simple and intuitive. However, when I std::cout'ed the code
above, I found the numbers came out as:

, 10,20,30,40,50,60,70,80,
80,70,60,50,40,30,20,10,0,80,

csv2 added two extra numbers to the second line of numbers. Since I want to use this program to easily
input data sets into a program which then applies regression analysis to said data, this error is concerning.
Please let me know if the code already has a fix built in, of which I am not aware.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0