using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;//biblioteca IO
namespace p14
{
class Program
{
static void Main(string[] args)
{
StreamReader fin = new StreamReader("date.in");//fisierul de intrare
StreamWriter fout = new StreamWriter("date.out");//fisierul de iesire
while (fin.EndOfStream != true)//cattimp nu s-a tremiant fisierul
{
string s = fin.ReadLine();//citesc o linie
fout.WriteLine(s);//scriu o linie
}
fin.Close();//inchid fisierele
fout.Close();
Console.ReadKey();
}
}
}
|