| |

VerySource

 Forgot password?
 Register
Search
View: 661|Reply: 4

How to give a negative value to such a string

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Germany

Post time: 2020-1-20 20:00:02
| Show all posts |Read mode
<? xml version = "1.0" encoding = "UTF-8"?>
<groupInfo xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = …………
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Germany

 Author| Post time: 2020-1-29 20:54:02
| Show all posts
This is a get xml data, how to lose it to a char * Thank you
Reply

Use magic Report

0

Threads

78

Posts

29.00

Credits

Newbie

Rank: 1

Credits
29.00

 China

Post time: 2020-1-30 16:00:02
| Show all posts
Parsing XML documents with MSXML or Xerces C ++
Reply

Use magic Report

0

Threads

78

Posts

29.00

Credits

Newbie

Rank: 1

Credits
29.00

 China

Post time: 2020-1-30 16:27:01
| Show all posts
If you just get this string,
You can use the substr method of string to get the substring.
First use find to find the position of the quotation marks.
Reply

Use magic Report

0

Threads

24

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-2-2 14:00:02
| Show all posts
XML winter, do it with ready-made things.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list