|
|
|
 |
|

April 20th, 2005, 12:39 PM
|
 |
Lieutenant Colonel
|
|
Join Date: Nov 2001
Location: Virginia
Posts: 1,311
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Look what I can do...
Interested in doing my Python homework? 
|

April 20th, 2005, 01:09 PM
|
 |
Sergeant
|
|
Join Date: Dec 2002
Location: U.S.A
Posts: 311
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: OT: Look what I can do...
That can't be right. I don't see "hello world" anywhere in that code.
__________________
Vogon ships are yellow chunky slablike somethings, huge as office buildings, silent as birds. They hang in the air in much the same way that bricks don't.
(R.I.P. Douglas Adams)
-War is peace -Freedom is slavery -Ignorance is strength
In peace there's nothing so becomes a man as modest stillness and humility.
- W. Shakespeare (Henry V)
|

April 20th, 2005, 01:16 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: OT: Look what I can do...
Yeah, that program is all wrong.
|

April 20th, 2005, 02:15 PM
|
 |
Lieutenant Colonel
|
|
Join Date: Jan 2004
Location: Minnesota/South Dakota
Posts: 1,439
Thanks: 3
Thanked 3 Times in 3 Posts
|
|
Re: OT: Look what I can do...
I don't believe you can legally have a first C++ program without it including "Hello World". 
__________________
You can give a man fire and he will be warm for a day but set him on fire and he will be warm for the rest of his life.
A* Se+++ GdQ $? Fr! C* Css Sf-- Ai% Au M+++ Mp* S@ Ss++++ RNSHP Pw++ Fq+++ Nd++ Rp++ G++++ Mm++ Bb+++@ L+ Tcp--
Get the newest Version of Invasion! here: http://www.secenter.org/

|

April 20th, 2005, 02:45 PM
|
 |
Major
|
|
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Look what I can do...
It only means that geo's really first programm was written in Basic.
But he will never admit it 
|

April 20th, 2005, 03:38 PM
|
 |
Second Lieutenant
|
|
Join Date: Mar 2005
Location: Seattle, WA
Posts: 417
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Look what I can do...
|

April 20th, 2005, 03:41 PM
|
Sergeant
|
|
Join Date: Sep 2004
Location: Belgium
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Look what I can do...
Lemme tell you, that is C  not C++ it might be C++ syntax but C++ implies OO programming. dunno if you guys see that.
having a single main aint a good sign
but if it's meant to be procedural it looks like a well structured program.
|

April 20th, 2005, 03:42 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: OT: Look what I can do...
C++ is not strictly object oriented. It is well suited for procedural programming (more so than the ever so clunky C). 
|

April 20th, 2005, 10:16 PM
|
 |
Lieutenant Colonel
|
|
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Look what I can do...
Quote:
boran_blok said:
Lemme tell you, that is C not C++ it might be C++ syntax but C++ implies OO programming. dunno if you guys see that.
having a single main aint a good sign 
but if it's meant to be procedural it looks like a well structured program.
|
Ah, but there are objects. He clearly uses both the pre-defined cin and cout for standard input and standard output, respectively, and also uses the class ofstream for file output. Just because he hasn't created a class doesn't mean it's not OOP. I think Java has started to rot people's minds, making programmers think something is never OO unless you type "class foo" somewhere...
And I don't know about the rest of you, but I started in C, at 14 years old. A year later I learned "BASIC", but it was the version in my TI calculator, not this Visual nonsense. I technically still haven't "learned" VB, but really, do I need to? I can read the stuff, and if I'm ever asked to write it for some horrid reason... well, I'll burn that bridge when I get to it.
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
|

April 20th, 2005, 08:12 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: OT: Look what I can do...
Quote:
aiken said:
It only means that geo's really first programm was written in Basic.
But he will never admit it
|
Most programmers started in Basic.
And most wont admit it. 
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|