I'm trying to write a program for my brother that does some quick and dirty re-formatting from an outline in a text document to a .csv for his flashcard program to read. the outline looks like this:
1) Question
a) answer 1
b) answer 2
**c) answer 3**
d) answer 4
with the correct answer in bold. And the format the .csv needs to be in looks like this:
question 1, correct answer, incorrect answer 1, incorrect answer 2, incorrect answer 3, incorrect answer 4 (etc)
question 2, correct answer, incorrect answer 1, incorrect answer 2, incorrect answer 3, incorrect answer 4 (etc)
etc..
I haven't written any code yet because I'm still planning it out, but I have a pretty good idea of how I'll do it. I'm just not familiar enough with c++ file io to know of any way to check for bold. Any advice or links to information on how I can do this in a word document would be much appreciated, thanks.