[Solved] input day,month,year and store in a seperate structure
[ad_1] I recently saw the nice answer of Kerrek for a similar problem in SO: Read file line by line with an additional comment for the separator trick. So, I looked for this and transformed it to your standard input requirement (which was actually easy and less effort): #include <iostream> struct Date { int day, … Read more