1
Arts & Entertainment / Re: The IRL Collaboration.
« on: February 12, 2013, 12:31:29 PM »
So...?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Root
Root.left
Root.left.left
Root.left.right
Root.right
Root.right.left
Root.right.right
Node root;
public void ReadFile() //Puts every line of the file into an array.
{
String[] allLines = File.ReadLines("nodeFile.txt").ToArray();
root = WriteTree(allLines, 0);
}
public Node WriteTree(String[] fileContents, int arrayItem)
{
Node node = new Node();
if (fileContents.Length - 1 >= arrayItem)
{
node.Text = fileContents[arrayItem]; //Adds current string to current node.
//Console.WriteLine(fileContents[arrayItem] + " added");
// Need stuff here that adds node.Left and node.Right
// I'm more or less entirely sure this method needs to be recursive
}
return node;
}
So lets say you go eat at fast food restaurants regularly. Do you trust them enough not to tell a life insurance company about that?
You have your phone in your car. Do you trust them not to tell the police that you were speeding?
You took a sick day off work to go to a theme park with your family. You trust google not to tell your employers?
The other makes money by selling information about you to other companies.
I could revise that, I suppose.Your"art" is pitiful. Please tell me what I missed.
ART GARFUNKEL!
I seriously hope I'm not the only one that gets it.
Player[] playerArray = new Player[5];
playerArray[0] = new Player();
playerArray[0].Name = "hello";
Player[] playerArray = new Player[5];
playerArray[0].Name = "hello";
I liked how "The" morphed into "End" in the first one.
Very clever.