Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arpitbatra123/csvfilehandling
C++ Project to perform Various Operations on CSV files.
https://github.com/arpitbatra123/csvfilehandling
cpp csv csv-files makefile
Last synced: 25 days ago
JSON representation
C++ Project to perform Various Operations on CSV files.
- Host: GitHub
- URL: https://github.com/arpitbatra123/csvfilehandling
- Owner: arpitbatra123
- Created: 2017-04-18T08:47:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T09:05:20.000Z (almost 7 years ago)
- Last Synced: 2024-10-14T07:11:32.849Z (2 months ago)
- Topics: cpp, csv, csv-files, makefile
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mp4sem
Mini Project for 4th SemesterMini Project 3: CSV file handling.
What is CSV file?.
CSV stands for "comma-separated values”. In CSV file each value is separated by comma. Here we have following assumption about data in CSV file . In first row we have columns name that are separated by comma . From second row on-ward we contain data corresponding each columns name for Example:Text:
name,roll
a,14
f,78Save it as example.csv
Here we call first line as Header .
If you open it in spreadsheet program like Excel . it will look like as follow :| name | roll |
|------|------|
| a | 14 |
| f | 78 |Write implementation of following operation in Either C++ or C .
1. Create: this function accepts column name as input argument and creates csv file . Input : Name , roll_no Output: create a csv file with Header Name and Roll_no
2. IsSameStucture: Compare two CSV files whether they are same structure or not. by same structure we mean that number column in both file is same and there is one to one mapping of column name.
3. IsDuplicate: Check if Duplicate row data entries exist in CSV file.
4. RemoveDuplicate: Remove Duplicate row entry in CSV file.
5. Sort: input CSV file name and column name present in CSV file structure
Sort the row based on the column value of the column name we enter.
6. Union: Input two CSV file name and Column name. Union of row data based on column name and save it to another file name file3.
7. Intersection: Input two CSV file name and Column name present in both file. Intersection of row data based on column name and save it to another file name file3