Skip to content

Latest commit

 

History

History
81 lines (64 loc) · 4.45 KB

README.md

File metadata and controls

81 lines (64 loc) · 4.45 KB

Contributors Forks Stargazers Issues MIT License

CSVto3Dstrings

CSVto3Dstrings is a useful tool to convert any CSV file into a 3-d array of strings in C. I created it after amassing a fairly large spreadsheet of musical scale and note values and wanted to convert those for use in a C program. This tool could be useful for anyone needing to keep track of various attributes within such a 3d array.

product-screenshot

Built With

  • Python
  • Clang

Installation

  1. Download this repo to your local drive.
  2. Open a terminal.
  3. Navigate in your terminal to the folder containing this repo.

Usage

  1. Move your CSV files to the same folder as csvto3dstrings.py.
  2. In the terminal, execute with the following usage: python csvto3dstrings.py INPUTFILE OUTPUTFILE STRUCTURENAME. For example, you might execute python csvto3dstrings.py scales.csv scales.h myScales. Notice that scales.csv in the inputfile, scales.h is the output file, and the name of the 3-d array is myScales.
  3. For testing purposes, the above referenced input file is included in the repo for testing.

Contributing

Your contributions to this project are very much appreciated. If you would like to help make this project better, fork to repo and create a pull request. Alternatively, you can open an issue with the tag "request." Please star this project!

  1. Fork the Project and make a branch with your feature (git checkout -b feature/myFeature).
  2. Commit your Changes (git commit -m 'Added myFeature').
  3. Push to the Branch (git push origin feature/myFeature).
  4. Open a Pull Request.

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Pending...