boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - What's wrong with the following xml reading in C#?
相关主题
C#处理XML的问题
[合集] read in file in c++ ,weird ?
[转载] Re: [转载] 这样读多个文件对吗?
help: read mouse position in matlab?
How to read/load a .tif image? (转载)
how to read CPU time in Fortran
How to read binary(data) file generated by Fortran in C/C++ (转载)
异步通讯代码的简化
multi-thread 一问,
MSG file reader
相关话题的讨论汇总
话题: what话题: c#话题: using
进入Programming版参与讨论
1 (共1页)
b******y
发帖数: 139
1
using System;
using System.IO;
using System.Xml;
public class aXmlRead
{
public static void Main()
{
XmlDocument doc = new XmlDocument();
XmlTextReader reader = new XmlTextReader("newbooks.xml");
reader.Read();

doc.Load(reader); // error happens in run time
doc.Save(Console.Out);
}
}
p*u
发帖数: 2454
2

~~~~~~can u add path to it?

【在 b******y 的大作中提到】
: using System;
: using System.IO;
: using System.Xml;
: public class aXmlRead
: {
: public static void Main()
: {
: XmlDocument doc = new XmlDocument();
: XmlTextReader reader = new XmlTextReader("newbooks.xml");
: reader.Read();

1 (共1页)
进入Programming版参与讨论
相关主题
MSG file reader
请教cin.get()
is there any lib can read .Z file in c++/c program?
a probability interview question.
[合集] how to read c++ books?
大家填表遇到过这种怪事么? (转载)
read matlab .mat file, by C++???
Regular Scanner as Business Card Reader
Perl question - use perl to read another html files and update new html files
请教一个static 函数的问题
相关话题的讨论汇总
话题: what话题: c#话题: using