No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
HI can anyone tell me how to start with a project to read pattern files in perl...I am really confused... |
|
can anyone tell me how to read from a text file, line by line.... |
|
[QUOTE][CODE]using System; using System.IO; using System.Xml; namespace Task3 { class TextFileReader { static void Main(string[] args) { XmlTextReader reader = new XmlTextReader("my.xml"); String strn, strsn; while (reader.Read()) { switch (reader.NodeType) { case XmlNodeType.Element: // The node is an element. if (reader.HasAttributes) { //Console.WriteLine(reader.GetAttribute("reader.Name")); strn = reader.GetAttribute(0); strsn = reader.GetAttribute(1); //Console.WriteLine(strn); … |
|
[QUOTE]hi...I had to read a xml file in c#...i Had written the following code but the desired output is not coming..[/QUOTE] [CODE]using System; using System.Xml; namespace ReadXMLfromFile { class Class1 { static void Main(string[] args) { XmlTextReader reader = new XmlTextReader("my.xml"); while (reader.Read()) { switch (reader.NodeType) { case XmlNodeType.Element: // … |
|
hi...i have to create a code generator in c++, but i am starting from scratch , so first i need to create an xml file.... can anyone help me to create a simple xml file, with only two fields i.e., name and surname.... and this is where i'll fetch the … |
|
[QUOTE]hi all...i have just started to work in visula c++ and i have to create a program to read a txt file...but as i am debugging my program, it is giving an error on line[/QUOTE] [CODE]#include<fstream.h>[/CODE] |