Hello,
I got segmentation fault error due to problem in following code. If somebody knows how can I write it another way then please share it.
const DOMElement* netElement = (DOMElement*) rootNode->getElementsByT agName(XMLStrin g::transcode("N et"))->item(0);
When I removed ->item(0) at the the end of above mentioned code then segmentation error removed but program Aborted during execution.
So, in both above mentioned situations please tell me how can I handle this type of situation?
Thanks in advance.
I got segmentation fault error due to problem in following code. If somebody knows how can I write it another way then please share it.
const DOMElement* netElement = (DOMElement*) rootNode->getElementsByT agName(XMLStrin g::transcode("N et"))->item(0);
When I removed ->item(0) at the the end of above mentioned code then segmentation error removed but program Aborted during execution.
So, in both above mentioned situations please tell me how can I handle this type of situation?
Thanks in advance.
Comment