Commit Graph

13 Commits

Author SHA1 Message Date
952c318619 read_input:
- Clarify what each regex does by assigning rule numbers
- Properly handle commented-out lines in input files
- Properly scope several vars which were in too broad a scope
- Rewrite string-to-vector<int> to use regex to parse malformed input
- Remove dependency on sstream.
2022-04-22 21:12:22 -05:00
43c5dd10ed main: Print the graph after reading 2022-04-22 21:08:54 -05:00
654fb751e6 graph::print
Create function to print a graph
2022-04-22 21:08:33 -05:00
51fbacb024 Create test1.txt
This is a horribly malformed but still *technically* readable file.
2022-04-22 21:08:02 -05:00
80e9c4bcd4 Makefile: stop linking pthread stuff 2022-04-22 21:06:30 -05:00
8234aca2e0 Finish impl'ing reading a file 2022-04-22 18:48:36 -05:00
aeeb33e699 Switch to using std::vector rather than directly managed memory 2022-04-22 14:21:45 -05:00
b4a3beda69 Move reducible into its own file 2022-04-22 14:08:28 -05:00
476aec5734 C++-ify it some more, begin readfile 2022-04-17 22:03:17 -05:00
f770d105b8 Upgrade to C++ 2022-04-17 18:29:32 -05:00
300c72a49e This is probably owned by the university 2022-04-16 19:08:27 -05:00
8af524f276 Lay the groundwork 2022-04-16 19:03:38 -05:00
3406d23104 Initial commit 2022-04-16 21:59:00 +00:00