Thread: The Horror....

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    63

    Thumbs down The Horror....

    I was in the computer lab at my school today...and being the nerd that I am, I noticed Dev C++, and opened it up.
    Clicked through to create a new source file.

    I was shocked.

    Warning, some may have difficulty with the next line of code. Viewer Discretion advised.
    I present to you the first line in this nearly blank source file:
    Code:
    #include <iostream.h>
    I kid you not, this is what could-be programmers are being taught at my high school.

    I was horrified!!! (Thankfully I'm not doing any programming at the school! That was a close call!)
    -Webmaster-
    http://www.koaworld.com
    Pr0gr4m|\/|1Ng n00b

  2. #2
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    hey, "#include" is a perfectly appropriate pre-processor directive
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  3. #3
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    I'm surprised. Is it a really old version of DevC++? I have it on my home computer but I really just use it for its copy of gcc and I never use wizards to generate code so I wouldn't have seen that.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  4. #4
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    Change schools immediately, and alert the police of your observations as soon as possible!

  5. #5
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    I was on the network drive at this tech school I went to...got into some of the tests or test preparation assignments, unsure which they were.

    Anyways near the end of the course(they had it all divided up neatly in timeframes by folder) they still had them working on loops, in a C++ course. And almost everything I saw was void main.
    The world is waiting. I must leave you now.

  6. #6
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    Well at least it wasn't a professional software class

  7. #7
    Registered User
    Join Date
    Dec 2004
    Posts
    465
    My school is too dumb to teach c++. They have an advanced computer class 2 but its all web. Even though I may not be very skilled with html and whatnot. I assure you I know 3 times as much as any of those kids. I can't be on the web team because I have to pass the other comp classes. I'm not terribly good at typing and we stupid crap in excel and word. After looking at the source code of our web site I have concluded they copy and pasted half of it from other web sites.
    My computer is awesome.

  8. #8
    Registered User
    Join Date
    Oct 2004
    Posts
    63
    oh ya, lets not forget the end of that program as well...it was equally horrifying...

    take a guess...system(); Can YOU Guess what is inside? :P
    -Webmaster-
    http://www.koaworld.com
    Pr0gr4m|\/|1Ng n00b

  9. #9
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    Quote Originally Posted by Philandrew
    take a guess...system(); Can YOU Guess what is inside? :P
    del Q R c:\windows? :P

  10. #10
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    system("exit");

    Duh, how else are you supposed to quit the program?
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  11. #11
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    I always thought you quit the program by clicking the [x] in the corner, and then clicking Yes on the dialog box :P

  12. #12
    Registered User
    Join Date
    Dec 2004
    Posts
    465
    I like gcn's method
    My computer is awesome.

  13. #13
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Pulling the power cord works too (or the battery as applicable).
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  14. #14
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    You do realize, there's a power button at the front and a power switcheroo at the back. They offer better compatibility with the latest MS OS.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  15. #15
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    But less fun.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. struct program horror show
    By mouse163 in forum C++ Programming
    Replies: 5
    Last Post: 02-14-2003, 11:55 AM
  2. Best horror movie
    By datainjector in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-09-2002, 12:11 AM
  3. Horror in the skies
    By Fountain in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 07-09-2002, 02:51 AM
  4. Why did you start programming or what got you into programming?
    By Flikm in forum A Brief History of Cprogramming.com
    Replies: 55
    Last Post: 10-02-2001, 12:29 PM
  5. CE and VB... oh the horror..
    By ober in forum Windows Programming
    Replies: 2
    Last Post: 08-30-2001, 07:20 PM