I was finally able to get the html code from web pages. Just to face another problem!

Now I have to extract all the hyper links from the html, i was trying to do this with strtok.. no luck at all. Is there any other function that can help me achieve this?

PS: if i could use flex it would be so much easier =(

Why strtok() ? Use strstr() .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.