-
Notifications
You must be signed in to change notification settings - Fork 0
/
csv_console_example.txt
19 lines (17 loc) · 1.14 KB
/
csv_console_example.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PS ~\csv-console-table-c> gcc -o xyz .\csv_console_table.c
PS ~\csv-console-table-c> .\xyz.exe
Open file: generic.csv
Matrix validation successful. Data structure consistent.
int *char float *char int bool
1 "Welcome to csv-console-table-c" 9.98 NULL 1 TRUE
2 "This is a sample data csv file" 19.97 321654AE 2 FALSE
3 "1st row: set header types" 1.99 "null" 3 TRUE
4 "This file headers: 'int *char float ... 11.99 Can't feel nothing 4 TRUE
5 "Unknown types become `*char/string`" 19.97 OU812 5 TRUE
6 "'gcc -o xyz .\csv_console_table.c'" 19.17 "string" 6 TRUE
7 "'.\xyz .\yourfile.csv'" 19.84 "*char" 7 FALSE
PS ~\csv-console-table-c> .\xyz.exe // empty field in row 2
Open file: generic.csv
Error: Inconsistent number of fields in row 2. Expected 6, found 5.
Matrix validation failed. Data type doesn't match column type.
PS ~\csv-console-table-c>