PDA

View Full Version : Kids Are Realy Getting Smarter Today



Ariel_001
10-06-2003, 01:05 AM
I thought this was really funney. Would this really work?

http://images.ucomics.com/comics/ft/2003/ft031003.gif

Autumn Fox
10-06-2003, 02:07 AM
Try and make an analisis of a novel in this maner :P

abigspidermonkey
10-06-2003, 06:51 PM
Originally posted by Ariel_001@6 October 2003 - 01:05
I thought this was really funney. Would this really work?

http://images.ucomics.com/comics/ft/2003/ft031003.gif
:D :D Yea i saw that comic....That was funny! :lol:

mondaeo
10-06-2003, 07:14 PM
took me a while but i got it in the end. :lol: funny funny!

Ariel_001
10-06-2003, 07:25 PM
maybe someone can compile it and post it somewere on the web. :rolleyes:

Evil Gemini
10-07-2003, 02:58 AM
o i c its ment to do it 500 times over

Wolfmight
10-07-2003, 03:18 AM
Originally posted by neattairoski@6 October 2003 - 20:58
o i c its ment to do it 500 times over
yea.. script KiDdIeS

..litterally

ashutosh_cool16
10-07-2003, 03:06 PM
good one.. haha

Ariel_001
10-08-2003, 05:51 PM
:lol: :lol: ya :P

Acecool
10-08-2003, 07:14 PM
// Comic2.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

int main(void)
{
int count;

for(count=1;count<=500;count++)
 printf("I will not throw paper airplanes in class.\n");
return 0;
}

It works :-)

The file weighs in at 168 kb (holy...)
and opens a dos window, prints the stuff out, and yeah

the guy forgot the \n newline else its all screwy

Ariel_001
10-09-2003, 12:45 AM
Originally posted by Acecool@8 October 2003 - 19:14

// Comic2.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

int main(void)
{
int count;

for(count=1;count<=500;count++)
printf("I will not throw paper airplanes in class.\n");
return 0;
}

It works :-)

The file weighs in at 168 kb (holy...)
and opens a dos window, prints the stuff out, and yeah

the guy forgot the \n newline else its all screwy
Can you post it here http://www.uploadit.org/. try upx (http://upx.sourceforge.net/) it and zipping it.

:D :P

Ariel_001
10-09-2003, 02:48 AM
There is a lesson here...
http://images.ucomics.com/comics/ft/2003/ft031003.gif

In the interest of getting it right, and because all programmers go through a bit of code review every now and then, I'm going to debug this program. There is a bug! The printf statement is not correct. It will not produce the output that the programmer desires. This program as written will create a mess.The line ...
printf("I will not throw paper airplanes in class.");
... will produce the output you see below ...
I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.
The programmer forgot to put a carriage return at the end of the string. It should be ...
printf("I will not throw paper airplanes in class.\n");
Now, the program will correctly produce the output formatted into the desired lines.
I will not throw paper airplanes in class.
I will not throw paper airplanes in class.
I will not throw paper airplanes in class.
I will not throw paper airplanes in class.
I will not throw paper airplanes in class.
The moral of this story is that you should always test your code. Never assume that it works. And absolutely DO NOT Publish the code without testing it first.

Comic from FoxTrot (http://www.ucomics.com/foxtrot/index.phtml) ... :rolleyes:

Acecool
10-09-2003, 02:59 AM
Thats what I said >_<

Code:

// Comic2.cpp &#58; Defines the entry point for the console application.
//

#include &#34;stdafx.h&#34;

int main&#40;void&#41;
{
int count;

for&#40;count=1;count&#60;=500;count++&#41;
printf&#40;&#34;I will not throw paper airplanes in class.&#092;n&#34;&#41;;
return 0;
}

Compiled..
http://www.acecoolco.com/Comic2.zip


Why do u think the teacher says nice try?
Because the guy forgot the new line thing...

Ariel_001
10-09-2003, 03:20 AM
Cool. it nothin really useful but it`s still cool.

Why do u think the teacher says nice try?
Because the guy forgot the new line thing...

If it is a computer science class maybe. :rolleyes:

if you don`t mind maybe i will share it on KaZaA :P

oh ya here is the crack Here (http://idle-net.com/)

thedirtyd
10-09-2003, 04:35 AM
Why do u think the teacher says nice try?
Because the guy forgot the new line thing...

haha cause he&#39;s trying to get out of writing "i will not throw paper airplanes in class" 500 times. so he wrote the code on the board to do it for him.

3rd gen noob
10-09-2003, 04:52 AM
Originally posted by thedirtyd@9 October 2003 - 04:35

Why do u think the teacher says nice try?
Because the guy forgot the new line thing...

haha cause he&#39;s trying to get out of writing "i will not throw paper airplanes in class" 500 times. so he wrote the code on the board to do it for him.
the point was that the code written doesn&#39;t work
it&#39;s incorrect as it stands, so the teacher says "nice try"

TheMusicMan
10-09-2003, 06:18 AM
Maybe he should use perl instead to make it even a smaller code like


#&#33;/usr/bin/perl
for &#40;&#036;count=1; &#036;count&#60;500; &#036;count++&#41;
{
print &#34;I will not throw paper airplanes in class.&#092;n&#34;;
}

which would result in this (http://www.memberpluscentral.com/perl/test.pl)

Btw I don&#39;t see the missing /n as error since he would need more space to write it only once per line :) In real code you would just use it to make the output more readable.

ScotchGuy
10-09-2003, 06:39 AM
Originally posted by Darker@8 October 2003 - 22:18
Maybe he should use perl instead to make it even a smaller code like


#&#33;/usr/bin/perl
for &#40;&#036;count=1; &#036;count&#60;500; &#036;count++&#41;
{
print &#34;I will not throw paper airplanes in class.&#092;n&#34;;
}

which would result in this (http://www.memberpluscentral.com/perl/test.pl)

Btw I don&#39;t see the missing /n as error since he would need more space to write it only once per line :) In real code you would just use it to make the output more readable.
Yeah, it would still be there 500 times, just all run together.

Besides what do you think the chances are that a female middle school teacher would even be able to understand that.

ScotchGuy
10-09-2003, 06:45 AM
I like my version better.





// Chalkboard.cpp &#58; Defines the entry point for the console application.
//

#include &#34;stdafx.h&#34;
#include &#60;iostream.h&#62;

int main&#40;void&#41;
{

int count;

for&#40;count=1;count&#60;=500;count++&#41;
cout&#60;&#60;&#34;I will not throw paper airplanes in class.&#34;&#60;&#60;endl;
cout&#60;&#60;&#34;&#34;&#60;&#60;endl;

return 0;
}





Or how about with a while loop instead.





// Chalkboard.cpp &#58; Defines the entry point for the console application.
//

#include &#34;stdafx.h&#34;
#include &#60;iostream.h&#62;

int main&#40;void&#41;
{

int count=1;

while&#40;count&#60;=500&#41;
{
&nbsp;cout&#60;&#60;&#34;I will not throw paper airplanes in class.&#34;&#60;&#60;endl;

&nbsp;++count;
}

return 0;
}

4play
10-09-2003, 08:21 AM
// Chalkboard.cpp &#58; Defines the entry point for the console application.
//

#include &#34;stdafx.h&#34;
#include &#60;iostream.h&#62;

int main&#40;void&#41;
{

int count;

for&#40;count=1;count&#60;=500;count++&#41;
cout&#60;&#60;&#34;I will not throw paper airplanes in class.&#34;&#60;&#60;endl;
cout&#60;&#60;&#34;&#34;&#60;&#60;endl;

return 0;
}


this will give you a space inbetween lines ;) and the #include "stdafx.h" is not needed. :lol:

ScotchGuy
10-09-2003, 09:21 AM
Originally posted by 4play@9 October 2003 - 00:21

// Chalkboard.cpp &#58; Defines the entry point for the console application.
//

#include &#34;stdafx.h&#34;
#include &#60;iostream.h&#62;

int main&#40;void&#41;
{

int count;

for&#40;count=1;count&#60;=500;count++&#41;
cout&#60;&#60;&#34;I will not throw paper airplanes in class.&#34;&#60;&#60;endl;
cout&#60;&#60;&#34;&#34;&#60;&#60;endl;

return 0;
}


this will give you a space inbetween lines&nbsp; ;) and the #include "stdafx.h" is not needed. :lol:

I wanted the space, it makes it easier to read, why else would I add another endl? Wait, actually it doesn&#39;t add a space, I don&#39;t know why though. Oh well.

Yes it is, it&#39;s a required header file. Observe what happens during compile when I remove it.




--------------------Configuration: Chalkboard - Win32 Debug--------------------
Compiling...
Chalkboard.cpp
d:&#092;program files&#092;microsoft visual studio&#092;c++ files&#092;chalkboard&#092;chalkboard.cpp(21) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.

Chalkboard.exe - 1 error(s), 0 warning(s)






Did you actually try to run the program? <_<

sArA
10-09-2003, 11:00 AM
Originally posted by ScotchGuy@9 October 2003 - 07:39


Besides what do you think the chances are that a female middle school teacher would even be able to understand that.
I am not a middle school teacher....but I am female.

What sort of bigotted, sexist prig are you that presumes that gender and job title have any influence on the ability to understand a joke or code? As many programmers and hobbyists are now women surely your presumptions just serve to inflame contraversy, annoy fellow forum members (me) and makes you appear an uningelligent dolt which I am sure you are not.

Sorry but this kind of stereotyping clap trap is irritating in the extreme.

Acecool
10-09-2003, 02:17 PM
I know a woman that codes :-)
So chances are woman can understand it.

Ariel_001
10-09-2003, 03:26 PM
Originally posted by Darker@9 October 2003 - 06:18
Maybe he should use perl instead to make it even a smaller code like


#&#33;/usr/bin/perl
for &#40;&#036;count=1; &#036;count&#60;500; &#036;count++&#41;
{
print &#34;I will not throw paper airplanes in class.&#092;n&#34;;
}

which would result in this (http://www.memberpluscentral.com/perl/test.pl)

Btw&nbsp; I don&#39;t see the missing /n as error since he would need more space to write it only once per line :) In real code you would just use it to make the output more readable.
There is only 498 lines. Your missing 2 :D .

-Nice try :P

ScotchGuy
10-09-2003, 05:50 PM
Originally posted by sara5564+9 October 2003 - 03:00--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (sara5564 @ 9 October 2003 - 03:00)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-ScotchGuy@9 October 2003 - 07:39


Besides what do you think the chances are that a female middle school teacher would even be able to understand that.
I am not a middle school teacher....but I am female.

What sort of bigotted, sexist prig are you that presumes that gender and job title have any influence on the ability to understand a joke or code? As many programmers and hobbyists are now women surely your presumptions just serve to inflame contraversy, annoy fellow forum members (me) and makes you appear an uningelligent dolt which I am sure you are not.

Sorry but this kind of stereotyping clap trap is irritating in the extreme. [/b][/quote]
Hmm, I wasn&#39;t implying that no women can program, I never said that at all. I said what are the chances that a Middle School Teacher who is female could program.

It&#39;s pretty well known that most women don&#39;t know their way around a computer, but those who do can do it just as well as a male. I think it mainly depends on what type of personality you have. If you enjoy mathematics then you are more likely to enjoy programming and excel at it. If you&#39;re more the creative type and like to write and read etc. then chances are you wouldn&#39;t enjoy programming.

Men are more likely to have a mathematical way of thinking, while women are the opposite. I never said it was impossible for a woman to enjoy programming and have a mathematical way of thinking, it&#39;s just less likely. Also, there are less female programmers and engineers than males. So wouldn&#39;t that prove that Men tend to have mathematical ways of thinking more often, thus meaning that they are more likely to program then a female.

Good for you that you program, you are a rare breed, but that comment was merely a joke. Strange that nowadays you can make gassing jews jokes and not get an unkind word, but as soon as you make a comment about the fact that women programming are less likely someone takes notice. I know I wouldn&#39;t be offended if a woman said that men tend to be less creative and don&#39;t like to write. I know that tends to hold true, but I&#39;m not bothered by it in the least. There are always exceptions to the rules, unless someone says that "Women can never program and never will" I don&#39;t understand the point in replying, I said that the chances are low, not that it&#39;s impossible.

I could name more female tendencies, but I don&#39;t want to offend any more people, so I will end this post here.

Acecool
10-09-2003, 07:49 PM
Ok first off, shut up.
Second off:

If your male or female it doesnt matter.

Your saying a male middle school teacher would know c++ in and out, and that a female one doesnt even know how to operate a computer.

You need help.

ScotchGuy
10-09-2003, 09:31 PM
Originally posted by Acecool@9 October 2003 - 11:49
Ok first off, shut up.
Second off:

If your male or female it doesnt matter.

Your saying a male middle school teacher would know c++ in and out, and that a female one doesnt even know how to operate a computer.

You need help.
What the hell are you talking about? Did you even read what I said, or is your comprehension of English so low you just scanned the words and made up things you thought I might have said.

Where, did I say that, ever? Show me where, you moron. I never once said anything about a male middle school teacher, where the fuck did you get that? That&#39;s totally absurd, where on Earth did you come up with that assumption.

For some reason you seem to think that when I make an example of a female then I mean that all females are like that example, pull your head out of your ass.

I said: "It&#39;s pretty well known that most women don&#39;t know their way around a computer, but those who do can do it just as well as a male."

You see: "Women don&#39;t know how to operate computers, but Men in the exact same job do, no matter what&#33;"

HINT: MOST, does not mean all.

I guess I need to dumb it down for the members who&#39;s brain capacity is that of a 2 year old.

To sum it all up:

Men tend to have the more mathematical way of thinking of things, whereas women tend to be more creative. I am NOT saying that it can&#39;t be the opposite way around, there&#39;s always exceptions to the rules. A women can be just as good at programming as a male if she wishes and vise versa.

But my real question is this: Why men people make racist remarks or entire threads towards Jews or Blacks is it not a large deal. Nobody seems to care or notice. Then when I make a comment about how women are less likely to know how to program C++ do I get interrogated to no end?

First understand what I&#39;m saying, then criticize me. It makes you look like less of an idiot.

I.am
10-09-2003, 11:26 PM
:lol: :lol: :lol: :lol:
What the hell happened here? A simple Foxtrot cartoon transformed to Intro to Prog 101 which later changed to flaming 101 :lol:

Now this is more entertaining than the cartoon itself :lol: :lol:

kAb
10-09-2003, 11:54 PM
haha i compiled it and it worked.

so the comic strip writer did his homework :P

i saw this in the newspaper, but thanks for reminding me of it :lol:

Ariel_001
10-10-2003, 01:24 AM
Ok everybody now I know there is some sort of misunderstanding here but there no need to start flaming and ruin this nice trend we got going here. Pause and think for a bit than state an opinion. You know this is how wars get started in the first place eh :P

Anyways lets get back to developing "I will not throw paper airplanes in class" :rolleyes: :)

Ariel_001
10-10-2003, 03:00 PM
Can anybody here do this in javascript

4play
10-10-2003, 05:29 PM
&#60;script type=&#34;text/javascript&#34;&#62;
for &#40;i = 0; i &#60;= 500; i++&#41;
{
document.write&#40;&#34;I will not throw paper airplanes in class.&#34;&#41;
document.write&#40;&#34;&#60;br&#62;&#34;&#41;
}
&#60;/script&#62;

how about that.

I.am
10-10-2003, 10:43 PM
is this turning into programming 101 class http://www.mcbriens.net/liam/img/smilies/lol.gif simple printing in different languages http://www.mcbriens.net/liam/img/smilies/yawn.gif

Acecool
10-11-2003, 03:58 AM
You know nothing if you think the majority of Males know their way around computers better than Woman.

Both are equal.

ScotchGuy
10-11-2003, 04:33 AM
Originally posted by Acecool@10 October 2003 - 19:58
You know nothing if you think the majority of Males know their way around computers better than Woman.

Both are equal.
Oh, you&#39;re one of those people who had the idea that everyone was equal grounded into your head at school.

Guess what, that&#39;s bullshit. Men and Women are equal in many ways, but not all, mainly sports. The best female Basketball player could not compete with the best male Basketball player. The point is, men and women are not equal in everything, just most things.

Even so, your logic is terrible:

YOU: "You have an opinion in which I can neither grasp nor understand for it contradicts everything I was taught in elementary school. Therefore I will say that if you don&#39;t share the same view as myself I will say that you don&#39;t know anything."

You are an insanely stupid person. I will name some things I know to prove you wrong.

- Air has oxygen
- Math is spelled m, a, t, h in English
- There is more than one language spoken on Earth
- 12 year olds with queer names involving "coolness" should not be allowed to operate computers

I proved you wrong.

You can&#39;t deny the fact that there are more males in the workplace dealing with computers, stop being so stubborn and narrow minded. Not everything your teachers told you is true.

Here&#39;s something else that will prove you wrong, there&#39;s no way you can deny actual evidence, and this is a site made for women. Click Here (http://www.womenof.com/Articles/cb0129012.asp)

Read this:

"Although women have almost pulled even with men in computer use -- 77.8 percent of women and 79.5 percent of men report frequent computer use in 2000 – a new survey question regarding computer skill levels reveals a much lower confidence level in female freshmen. When asked to compare themselves with same-age peers, women are only half as likely as men are to rate their computer skills as "above average" or within the "top 10 percent" (23.2 percent versus 46.4 percent). The gap in self-confidence may contribute to the fact that men are five times more likely to pursue careers in computer programming (9.3 percent of men, versus 1.8 percent of women). While the gender gap in computer confidence has always favored men, the gap among the 2000 freshmen is the largest in the history of the survey."

Twist3r
10-11-2003, 06:10 AM
i think kids are getting smarter
(i could prgram a basic MSN messenger scroller at the age of 12 :D )

:D B) :P :P B) :D :beerchug: :beerchug: :beerchug: :zorro: :zorro:

sosseres
10-12-2003, 12:18 AM
Kids are just about as smart as ever, they just direct their interest into the directions you think show on inteligence.

I know I spelt it wrong :)

ScotchGuy
10-28-2003, 06:31 AM
Acecool I&#39;m still waiting for your response to my last post...

Acecool
10-28-2003, 04:55 PM
I got to the math part, and your wrong...

In English, its maths, not math.
In American its math.


Edit:

At the quiz part, most smart people do not do these types of things, they usually do not open the quiz, but rather close it due to it wasting their valuable coding time :-)

ScotchGuy
10-29-2003, 02:47 AM
NEWSFLASH: American is not a language, idiot. On another point I wasn&#39;t talking about maths, I was talking about math. They are both words in the ENGLISH language, not the non-existent American language that you speak of. Do you really want to argue that math is not spelled m, a, t, h?

Quiz? What are you talking about, closing a quiz? Please respond to this:

You can&#39;t deny the fact that there are more males in the workplace dealing with computers, stop being so stubborn and narrow minded. Not everything your teachers told you is true.

Here&#39;s something else that will prove you wrong, there&#39;s no way you can deny actual evidence, and this is a site made for women. Click Here (http://www.womenof.com/Articles/cb0129012.asp)

Read this:

"Although women have almost pulled even with men in computer use -- 77.8 percent of women and 79.5 percent of men report frequent computer use in 2000 – a new survey question regarding computer skill levels reveals a much lower confidence level in female freshmen. When asked to compare themselves with same-age peers, women are only half as likely as men are to rate their computer skills as "above average" or within the "top 10 percent" (23.2 percent versus 46.4 percent). The gap in self-confidence may contribute to the fact that men are five times more likely to pursue careers in computer programming (9.3 percent of men, versus 1.8 percent of women). While the gender gap in computer confidence has always favored men, the gap among the 2000 freshmen is the largest in the history of the survey."


Or you can finally admit you are wrong, the evidence is piled against you.

exeus
10-29-2003, 04:12 AM
Originally posted by sosseres@12 October 2003 - 10:18
Kids are just about as smart as ever, they just direct their interest into the directions you think show on inteligence.

I know I spelt it wrong :)
my 7 year old writes programs (Delphi) when i was 7 i would not have been able to even read the code.......

EDIT: let alone actually understand it...

ScotchGuy
10-29-2003, 04:29 AM
Originally posted by exeus+28 October 2003 - 20:12--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (exeus @ 28 October 2003 - 20:12)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-sosseres@12 October 2003 - 10:18
Kids are just about as smart as ever, they just direct their interest into the directions you think show on inteligence.

I know I spelt it wrong :)
my 7 year old writes programs (Delphi) when i was 7 i would not have been able to even read the code.......

EDIT: let alone actually understand it... [/b][/quote]
Or even use a computer at all.