I can't get a job. After spending four years getting a degree in engineering I now realize that the degree is worthless.
Can someone do me a favor and make me a resume that claims I'm an expert programmer? Just make shit up. If I get hired for something I'll learn the needed programming languages before I start work.
OK, got it now. For anyone who works with strings in C#, at least on VC# Express, keep this in mind, cause it's weird:
You can LOOK FOR '\n', but in the replace statement, you can't just come out and say '\n', you need to use System.Environment.NewLine.
Weird, but now it works!
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
// create a reader and open the file
StreamReader tr = new StreamReader("c:\\users\\b\\downloads\\dx\\DX00H.txt");
StreamWriter wr = new StreamWriter("c:\\users\\b\\downloads\\dx\\output.txt");
// read the entire file
string myString=(tr.ReadToEnd());
myString = myString.Replace("\"", "");
//myString = myString.Replace("", ",");
string b = "\n";
string c = "," + Environment.NewLine;
myString = myString.Replace(b,c);
string[] sArray =(myString.Split(','));
string[][] aLines;
int i = 0;
foreach (string s in sArray)
{
i++;
if (i<10)
Console.WriteLine(s);
if (i > 7)
wr.Write(s + " ");
}
//wr.Write(myString);
// close the stream
tr.Close();
// Console.ReadLine();