Hi,
I want to use IrrXML to parse XML that came from a different source then a file on the hard disk ( I use SFML for networking and receive XML-formatted messages), and wonder if this is possible, and if it is, how?
Github source directory
Nander
Search found 6 matches
- Wed Aug 10, 2011 12:49 pm
- Forum: Beginners Help
- Topic: XML from variable instead of file
- Replies: 1
- Views: 163
- Thu Aug 26, 2010 6:00 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Beam scenenode
- Replies: 34
- Views: 22653
- Mon May 31, 2010 5:33 pm
- Forum: Beginners Help
- Topic: IrrXML nodes to int
- Replies: 9
- Views: 635
If you really must convert a wchar_t string to an integer, then you should either convert the wchar_t string to a char string, and then use atoi() , strtol() , strtoul() or strtod() , or you could write your own routine to do it directly. The solution would be trivial if you reformatted your xml to...
- Mon May 31, 2010 4:06 pm
- Forum: Beginners Help
- Topic: IrrXML nodes to int
- Replies: 9
- Views: 635
I've used this http://www.cplusplus.com/reference/clibrary/cstdlib/atoi/ I tried atoi.. Cannot convert error.. Doesn't atoi require a const char*, instead of a const wchar_t*? For some reason it just doesn't seem to work nice.. Why on earth does getNodeData return a const char_t*? why not just a co...
- Mon May 31, 2010 3:47 pm
- Forum: Beginners Help
- Topic: IrrXML nodes to int
- Replies: 9
- Views: 635
Re: IrrXML nodes to int
Or more specifically, is there a way to convert const wchar_t* (or stringw, or stringc) to integer? int _wtoi(const wchar_t *str); (c) http://msdn.microsoft.com/en-us/library/yd5xkb5c(VS.80).aspx I tried that one.. _wchar is not declared in this scope.. It seems to be only for MS. C++, not for linu...
- Mon May 31, 2010 3:20 pm
- Forum: Beginners Help
- Topic: IrrXML nodes to int
- Replies: 9
- Views: 635
IrrXML nodes to int
Hi, I've got a xml file, example: <root> <child> <value>21</value> <value2>213</value> <value3>4125</value> <value4>2183</value> </child> </root> I want to get the integer values of them. Is there an easy way to do this? Or more specifically, is there a way to convert const wchar_t* (or stringw, or ...