Answer the question
In order to leave comments, you need to log in
How to get data between xml tags in C++?
Get data from a file:
<?xml version="1.0" encoding="UTF-8"?>
<FileZilla3 version="3.48.1" platform="windows">
<RecentServers>
<Server>
<Host>8219321</Host>
<Port>22</Port>
<Protocol>1</Protocol>
<Type>0</Type>
<User>eman</User>
<Pass>312==</Pass>
<Logontype>1</Logontype>
<EncodingType>Auto</EncodingType>
<BypassProxy>0</BypassProxy>
</Server>
<Server>
<Host>197.2.2.2</Host>
<Port>21</Port>
<Protocol>0</Protocol>
<Type>0</Type>
<User>root</User>
<Pass>hello</Pass>
<Logontype>1</Logontype>
<PasvMode>MODE_DEFAULT</PasvMode>
<EncodingType>Auto</EncodingType>
<BypassProxy>0</BypassProxy>
</Server>
</RecentServers>
</FileZilla3>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question