Commit Graph

35 Commits

Author SHA1 Message Date
ba2acb23ec CSV is GONE, time for SQLITE
CSV sucks and Datbases are the proper way to be doing stuff like this
not to mention, it ditches a lot of potentially unsafe code because
we're no longer doing lots of file operations
2024-01-31 11:53:09 -05:00
43e69fa342 fixes csv headers 2024-01-29 12:19:14 -05:00
e9014258a8 another potential getline bug 2024-01-25 09:41:08 -05:00
5c06dbca6c First argumnet in get_line must be freeable
This fixes a potential c bug :p
2024-01-25 09:26:08 -05:00
397549386e adds a missing error check 2024-01-24 19:05:14 -05:00
e0e8634dd1 minor grammar change 2024-01-24 18:20:21 -05:00
8e78e89f3b adds a missing free a \n 2024-01-24 18:19:24 -05:00
612224a100 Adds line removing
Allows you to remove a specific ID in the book DB
this will also update the subsequent lines to be in numerical order
2024-01-24 18:16:05 -05:00
ebebe13f0e adds CSV documentation 2024-01-24 11:38:09 -05:00
4d3dfee74c Adds better file error handling
Creates a find id function
2024-01-24 11:33:50 -05:00
f1a6af2d35 fix: forgot to check the correct output of strcmp 2024-01-24 11:14:46 -05:00
db61814865 Restructures main and remove printing to STDOUT
Also adds a help menu,
as well, adds some simple structure to begin removing books from the db
2024-01-24 11:12:15 -05:00
41691bd009 fix: missing newline 2024-01-24 10:58:52 -05:00
713dd70c12 images 2024-01-24 10:50:08 -05:00
36e7aa535c TODOs 2024-01-17 10:26:36 -05:00
753e61dfa0 fixes warning 2024-01-16 10:37:32 -05:00
a1df279374 changes snprintf to memcpy, as it should be 2024-01-14 21:43:59 -05:00
a88232f48c cleans up the outputting a bit 2024-01-14 21:42:09 -05:00
16fd5277b8 another makefile fix 2024-01-13 21:37:29 -05:00
5df221c23a adds a free() 2024-01-13 21:35:35 -05:00
e65e5684de quick Makefile fix 2024-01-13 21:34:40 -05:00
0f125ee459 restructures the code 2024-01-13 21:33:33 -05:00
9fc68e1b72 Cleans up the code
Separates some functions into their own files
separates some big functions in to smaller ones to help improve the code
cleans up some stuff
2024-01-13 21:29:52 -05:00
d904118c4f :Merge branch 'master' of https://github.com/SuperNovaa41/isbn-lookup 2024-01-13 10:41:59 -05:00
37a9a106f6 blah 2024-01-13 10:41:28 -05:00
75fa7b79d1 adds writing to file 2024-01-13 10:38:03 -05:00
e03557459e Create LICENSE 2024-01-12 13:14:56 -05:00
e66e9c5990 adds readme 2024-01-12 13:09:07 -05:00
d6e2ea2aba adds clean directive 2024-01-12 13:06:15 -05:00
85bc44ab8f minor formatting 2024-01-12 12:56:15 -05:00
db984d5e35 cleans up some code, adds some comments 2024-01-12 12:55:30 -05:00
8994bc0365 removes random files 2024-01-12 12:50:26 -05:00
3dc1ab7722 more error handling 2024-01-12 12:50:10 -05:00
d0427725a6 adds proper error handling 2024-01-12 12:29:09 -05:00
5c327958e2 initial commit 2024-01-12 12:15:17 -05:00