Issue
How to do jQuery like calls in C language?
Say we have a packets (html for example):
<div id="mymute">
<div>
</div>
<div>
<img src="/agents/sleeping.png" />
</div>
<div>
</div>
</div>
Javascript/Jquery it query that packets and find the image tag and update the src attribute. using simply like this:
$('#mymute').find('div').find('img').attr('src','/agents/wakeUP.png');
But in C how can i do something like this? (not how to parse a string but how to implement such function().function().function().function().endless...().endless()?
main.c:
int
main () {
"This is a html string".cWayFind("is").cWayFind("etc etc").cWayModify(properties, tonewProperties);
return 0;
}
Solution
Here's a great place to start:
http://en.wikipedia.org/wiki/Method_chaining
Answered By - karim79 Answer Checked By - Cary Denson (WPSolving Admin)