Main Menu

The Official General Chat Thread

Started by koko_99_2001, June 26, 2010, 02:31:35 PM

Previous topic - Next topic

Haids1987

Haha, I'm glad I could make you laugh, Cat! :) At least I came back with a bang! :rofl:
STATUS:
-Drinking water
-Checking the forum. 

Perpetually. ;D
Erica Reed is Katie Hallahan.
Leader of the "I <3 Doon" Fanclub

Jafar

The Unofficial The Silver Lining Official Sarcasm Cleaner Upper's Assistant

Defender of All Things Against Connor

Jarada Knight: The Honourable Marshmallow

Official Useless Information Finder

And who knows what else?

Haids1987

Graham, look out!  A POIsonous gun! :watchout:
STATUS:
-Drinking water
-Checking the forum. 

Perpetually. ;D
Erica Reed is Katie Hallahan.
Leader of the "I <3 Doon" Fanclub

Jafar

The Unofficial The Silver Lining Official Sarcasm Cleaner Upper's Assistant

Defender of All Things Against Connor

Jarada Knight: The Honourable Marshmallow

Official Useless Information Finder

And who knows what else?

GoneTooLong

Death looking in the mirror and seeing the horror of what he had become = single tear
Cedric looking in the mirror and seeing the horror of what he is = crying uncontrollably for hours
Heard joke once: Man goes to doctor. Says he's depressed. Says life seems harsh and cruel. Says he feels all alone in a threatening world where what lies ahead is vague and uncertain. Doctor says "Treatment is simple. Great clown Pagliacci is in town tonight. Go and see him. That should pick you up." Man bursts into tears. Says "But Doctor...I am Pagliacci." Good joke. Everybody laugh. Roll on snare drum. Curtains.

snabbott


Steve Abbott | Beta Tester | The Silver Lining

kindofdoon


Daniel Dichter, Production/PR
daniel.dichter@postudios.com

writerlove

I don't know where to put this... but i guess here would be the best place. I'd really like a chat with someone tonight. I can't get myself out of this funk :(
"Love can't be banished, even from this place. ... still less can it be banished from my heart."
"ENOUGH! Burden me not with thy poetry."-KQ6

LadyTerra

I have my cake and eat it too, until it's gone.  Then I can't do either.


Aww!  You have the Sword of Hugging +3!  All of your attacks deal affectionate damage!

wilco64256

Quote from: writerlove on March 31, 2011, 08:24:59 PM
I don't know where to put this... but i guess here would be the best place. I'd really like a chat with someone tonight. I can't get myself out of this funk :(

Poke me on Skype and you can have half of my daily cookie :)
Weldon Hathaway

Haids1987

Really? Nobody has written here for a whole year now?  C'mon you guys, where else do we make all of our pointless chatter?!  (Don't be a smart ass and tell me everywhere else, either! :angel:)

So in Haids news, I'm seeing Titanic in 3D tomorrow and I'm soooooooo super stoked!  Remember the Titanic freaks, those little girls who were in love with Leo and declared that "My Heart Will Go On" was the best piece of music ever recorded?  That was me, yo.  Between ten and thirteen I pretty much ate, breathed, drank, and sweat Titanic.  Oh man.

What is up with you, my homies?  Talk to me!  I'm so tired of a sleepy forum!  We used to be so active. :(
STATUS:
-Drinking water
-Checking the forum. 

Perpetually. ;D
Erica Reed is Katie Hallahan.
Leader of the "I <3 Doon" Fanclub

tessspoon

Well, I'm trying to finish up my last semester of school. Currently in crunch mode trying to get the write-up for my final project done. Week after next I'll be defending, eek! :o So that's pretty much my life atm.

I'm also really exhausted atm so hopefully this was a coherent post :P. Now, time for dinner and an episode of Last Airbender, then a nap :D

Haids1987

Quote from: tessspoon on April 03, 2012, 03:57:24 PM
Well, I'm trying to finish up my last semester of school.
Dude, that's awesome! Busy, busy, though.  No wonder you've been quiet lately!  Computer science, right?  Rad.  Which language do you program in?

"Tired" runs in the forum family, I think. New parents, busy students, hard workers...we're an active bunch!  Just not here anymore, unfortunately.
STATUS:
-Drinking water
-Checking the forum. 

Perpetually. ;D
Erica Reed is Katie Hallahan.
Leader of the "I <3 Doon" Fanclub

tessspoon

Quote from: Haids1987 on April 04, 2012, 12:17:28 AM
Computer science, right?  Rad.  Which language do you program in?
Yep! Undergrad we worked almost exclusively with Java, but in grad I've been using C++ for most of my classes, and Python for my research.

snabbott

Quote from: tessspoon on April 04, 2012, 09:37:15 AM
C++ for most of my classes
Pun intended? :P
I've been trying to teach myself C++ lately. It's going slowly.

Steve Abbott | Beta Tester | The Silver Lining

tessspoon

Quote from: snabbott on April 04, 2012, 10:21:48 AM
Quote from: tessspoon on April 04, 2012, 09:37:15 AM
C++ for most of my classes
Pun intended? :P
I've been trying to teach myself C++ lately. It's going slowly.
lol, didn't even notice XD

I still struggle with pointers. I get the idea of them, but I need more practice with actually using them.

Haids1987

Ha! I'm only on my second quarter of being a computer science student and I'm trying to learn C++, it's difficult.  I've got Visual Studio open right now and I'm trying to learn to properly display a 2-dimensional array.  I've gotten exactly this far:

private void btn1_Click(object sender, EventArgs e)
        {
//1. Display the array
            int rows = A.GetLength(0);
            int columns = A.GetLength(1);
            for (int i = 0; i < A.GetLength; i++)
            {
                richTextBox1.AppendText(A[rows, columns] + " ");
                {
                    richTextBox1.AppendText("/n");
                }
            }
        }

Clearly something isn't working here, I just need to figure out what is it...it's a for loop, my nemesis. :devil:
STATUS:
-Drinking water
-Checking the forum. 

Perpetually. ;D
Erica Reed is Katie Hallahan.
Leader of the "I <3 Doon" Fanclub

tessspoon

Heh, I just realized there's a code tag on this forum :D

I think your "/n" needs to be "\n".

I don't know what A is, but usually when displaying a 2D array two for loops are used. One to iterate over the rows, and one to iterate over the columns. If I assume that A works like the 2D arrays I'm used to, then:

//This for loop goes through all the rows of the 2D array
for(int i =0; i < rows; i++)
{
    //This for loop goes through all the items in a row
    for(int j = 0; j < columns; j++)
    {
           richTextBox1.AppendText(A[i][j] + " "); //Get the item in the current row and column and print it
    }
          richTextBox1.AppendText("\n"); //Done with the current row, so print out a newline before we start the next.
}

Haids1987

#238
Dude, I didn't know there was a code tag either! ;)

Hmmm...I copy and pasted your code into Visual Studio and it accepted most of it, but it looks like I failed to declare columns and rows. I'm going to go back and check with some of my fellow students to see what else I'm doing wrong, but thank you Tess! You're education is paying off! :yes:

In other news, I went to the 3D IMAX experience of Titanic last night. !!! There was laughter.  There were tears. There was ridiculous cringing as the guy falls off the stern of the ship and smacks his legs on the propeller. :X I always forget how much I love that movie until I watch it again. :sweetheart:

Edit: fixed your :sweetheart: :)
STATUS:
-Drinking water
-Checking the forum. 

Perpetually. ;D
Erica Reed is Katie Hallahan.
Leader of the "I <3 Doon" Fanclub

snabbott

#239
I think you need to paste Tess's code after your declarations of rows and columns.
I haven't gotten to the "Visual" stuff yet, but here's a console application that creates and displays a 2-d array:

#include <iostream>
using namespace std;

int main()
{
    int a2darray[10][10];
    for (int i=0; i<10; i++) {
        for (int j=0; j<10; j++) {
            a2darray[i][j] = i+j;
        }
    }
    for (int x=0; x<10; x++) {
        for (int y=0; y<10; y++) {
            cout<<a2darray[x][y]<<" ";
        }
        cout<<"\n";
    }
}


Output:
0 1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9 10
2 3 4 5 6 7 8 9 10 11
3 4 5 6 7 8 9 10 11 12
4 5 6 7 8 9 10 11 12 13
5 6 7 8 9 10 11 12 13 14
6 7 8 9 10 11 12 13 14 15
7 8 9 10 11 12 13 14 15 16
8 9 10 11 12 13 14 15 16 17
9 10 11 12 13 14 15 16 17 18

I don't know enough to make it pretty yet. :P

Also, I'm not finding a good way of determining the dimensions of a multidimensional array. :S

Steve Abbott | Beta Tester | The Silver Lining