Preliminaries
#Preliminaries II am working on a software that controls CAEN digitizer. The current step is to provide an ability to save/load configuration to/from an external source (hereafter - "config file"). I decided config file to be a simple text file and consisting of lines like this one:
Some notes
##Some notes HereHere are some principles I was following when writing the code:
Program
struct ConfigUnit
#Program ##struct ConfigUnit ThisThis structure represents a single pair parameter-value, so called a config unit.
Algorithm
##Algorithm ThisThis is actually a little bit more generic algorithm than I need because it searches for all words in a line.
#Test