Thread: What did you learn in school today?

  1. #1
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499

    What did you learn in school today?

    We discussed the insert sort today. I thought I would share it with those of you whom may have not seen it before. This actually performs no swapping operations at all.

    Code:
     
    void insertSort(int x[], int n)
    {
    	//O(log2(n))
    	int i, k, y;
    	for(k = 1;k < n;k++)
    	{
    	    y = x[k];
    	    for(i = k - 1;i >= 0 && y < x[i];i--)
                    x[i+1] = x[i];
    	    x[i+1] = y;
    
            }
    }
    What did everyone else learn?
    Last edited by DISGUISED; 06-10-2002 at 09:34 AM.

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    That school's been out for a week already !

  3. #3
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499
    oh yeah, High school. Duh. I miss those days ::sigh::

  4. #4
    Registered User Zeeshan's Avatar
    Join Date
    Oct 2001
    Location
    London, United Kingdom
    Posts
    226
    Chemistry

    Qualitative Salt Analysis...

  5. #5
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Gaussian Elimination
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  6. #6
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    What the insides of a frog look like.

  7. #7
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Originally posted by xds4lx
    Gaussian Elimination
    Man, I remember the days of Linear Algebra. Today, we didn't learn much in Multi-Variable calculus.

    P.S. - You had better have a firm grasp on Gaussian Elimination it WILL be popping up all over your Linear class.

  8. #8
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    What did I learn. Well first of all I learned that procrastination makes you lose sleep. I got 4 hours last night and didn't have breakfast or lunch. Then I learned that Spanish is a waste of time because I'm never gonna learn how to understand the guys that talk at 600 wpm. In English, I learned that "just because a guy is sensitive doesn't mean that he's gay". But I don't know if I agree (some guy wrote "you're an incredible person" in another guy's yearbook, not as a joke, and also used the word cute with a car. Apparently girls don't understand that femenine guy = HOMO). Then I learned that logarithms suck and I'm never gonna learn them out of this book. There goes my A in algebra two.

    Lastly, I learned that school is a pile of **** where you don't learn anything useful.

  9. #9
    Registered User
    Join Date
    May 2002
    Posts
    178
    I learned what 1+1 was. Boy that question drove me nuts for years ( : I think my teacher told me that it was -7
    Oi Oi Oi!!!!

  10. #10
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    I thank god every day that I have been done with school for several years now. I hated it really really bad even though I did fairly well in it, at least in high school (only A's and B's). In college I stopped caring about my work and ended up getting a couple bad grades (still mostly A's and B's). But now I don't have to learn anything unless I want too. I buy a book on a subject that I am interested in and read at my own pace. No more having to take classes in subjects I will never need to use in life... like that stupid music appreciation class I had to take, my god was that ever boring!!
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  11. #11
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    I learned that no matter how hard or long I try to build a 4 bit shift and add multiplier, when both my lab partner and I have horrible colds and can't concentrate, it's not going to happen. Also, I learned how satisfying it is to rip the wires out of a non-functioning project.

  12. #12
    I learned that Lemuriformes, Lorisiformes and Tarsiiformes are all infraorders of the suborder prosimii.

  13. #13
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499
    Today, I learned you are not supposed to call someone an idiot during a serious economics debate infront of hundreds of people. And you really shouldn't follow that up with moron either. oh well

    Hope ya feel better Gov.

  14. #14
    Registered User Cruxus's Avatar
    Join Date
    Aug 2001
    Posts
    87
    Wait a minute, learning and school go together? I thought learning was the exception to the rule at school, and learning was something one secretly did in one's spare time while no one else was looking.

    I'm glad school's been out for a week now, but during the school year in-class learning was rare: It was mostly boring lectures from second-rate teachers pandering to indifferent students and plenty of busywork, especially in my Algebra II class. In any one day at high school, I might learn, at the most, one or two new things. School's crud, but what are you going to do about it? You need that diploma at least to get anywhere in life.

  15. #15
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    801
    Originally posted by tim545666
    Apparently girls don't understand that femenine guy = HOMO).
    People, you don't know how right this guy is!!!we have a guy in our school, he was our junior vp last year, he does everything a girl does....sings britny songs OUTLOUD in classes, listens to the most stupid songs and watches the most gayest TV shows ( passions, for the ppl who know what it is). Now guys who have hread him sing knows how bad it it, well this is what i tell em, wait till you hear him rap!!! he dosen't have a single friend that is a guy( i think that's because he's more of a female type and dosen't feel comfortable around guys because guys don't share the same opinions as him). well, that's i....

    and for what i learned in school today, I learned that if you don;t tell your supply teacher well enough that you r in class, he will mark you absent, you'll get a phone call home saying that you skipped class, ur parents r gonna get so mad at you that they will try to ground you for 2 years!!!, you'll have to fis the problem the next day by going to the office and face the horrible sight of your principal and explain what happened...

    there's one more thing i learned....but it was couple of weeks ago....read my signature ( the second part )
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: [email protected] []*[]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Book for Newbie trying to learn C
    By uthscsa19 in forum C Programming
    Replies: 23
    Last Post: 12-24-2005, 11:02 AM
  2. Can you actually learn c++ in 21 days?
    By Raeliean in forum C++ Programming
    Replies: 14
    Last Post: 07-27-2005, 03:41 PM
  3. You have to learn C in order to learn C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 07-16-2004, 10:33 AM
  4. Novice trying to learn C++
    By dead in forum C++ Programming
    Replies: 10
    Last Post: 12-01-2003, 09:25 PM
  5. School Shooting in Germany
    By Golden Bunny in forum A Brief History of Cprogramming.com
    Replies: 27
    Last Post: 04-27-2002, 01:47 PM