如何写入和读取.xml文件? [英] How to Write into and read from an .xml file?

查看:90
本文介绍了如何写入和读取.xml文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个1.exe文件,它输入两个数字。输出是两个数字的总和。我还有另一个2.exe文件,它使用这个和并执行乘法运算并给出输出。



我想将1.exe的输出数据发送到xml文件,并将相同的数据检索到2.exe文件中。如何写入和读取xml文件?请尽快使用MSXML头文件帮助我。



期待解决方案。在此先感谢。

I have made an 1.exe file which takes two numbers as input. The output is the sum of the two numbers. I also have another 2.exe file which uses this sum and performs a multiplication operation and gives the output.

I wanted to send the output data of 1.exe to an xml file and retrieve the same data into 2.exe file. How can i write into and read from an xml file? Kindly help me with an example using MSXML headerfile at the earliest.

Looking forward for the solution. Thanks in advance.

推荐答案

读取怎么样文档 [ ^ ]?


您可以使用Web服务在应用程序之间进行通信。
You can do it by using web service for communicating between applications.


这篇关于如何写入和读取.xml文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆