Well, I don't really want to do anything other than extract the words between the tags. I want "1", "enchanted" and "chocolate bar" to be on the first vertical row of the bidimensional array, and "2", "very remarkable" and "flavored cookies" on the second vertical row of the bidimensional array, and so on.
"gugugug", "krakaka" and "gagaga" are not important. So basically, it's not important that it's html.
I know that if I use this:
Code:
char lol[] = { '<', 's', 'p', 'a', 'n', ' ', 'c', 'l', 'a', 's', 's', '=', '"', 'g', 'u', 'g', 'u', 'g', 'u', 'g', '"', '>', '\0' };
I can treat the html bit as a simple string that I want to ignore.
But I don't know how to get what is between the <span> and </span>.
Is there a way to tell C++ to go to the end of <span class="gugugug">, add what is between the > and the </span> to an array, and then go to <span class="krakaka">, get what is between the > and < over there, and then continue in that style?
I'm thinking it's simple code, so can you help me out?