News:

New Wiki available at http://wiki.gstwins.com -Check it out or contribute today!

Main Menu

How many could you take..

Started by zukiGS500, November 08, 2005, 02:29:40 PM

Previous topic - Next topic

skoozi12

Quote from: natedawg120That ones not there, i made it to cover my @$$  :lol:  :lol:  :lol:

Once again with the reading...today is not such a good day...everyone say hi to my whole computer class since I just realized that im typing on the projector!
'06 F as of 4/19/06

natedawg120

system.out.print("Hi computer class"); :lol:  :lol:
Bikeless in RVA

RVertigo

Uh...

void main(){
    printf("Yo suckas");
}

natedawg120

Quote from: RVertigoUh...

void main(){
    printf("Yo suckas");
}

This is a good example of correct code.  I am just lazy :lol:  :lol:
Bikeless in RVA

RVertigo

Sorta...  You shouldn't void main...   :dunno: I'm just lazy.

Plus...  I couldn't remember:

int main (arv v[], arg c)

Is that right?  :lol:  

Stupid C...   :lol:

natedawg120

nah you normally void main unless you are returning something.  Like what you wrote you are returning an int to whatever calls main.  Simple stuff main is normally void and helper functions return things.  </geek>

edit : <---CS major, just realized i can never </geek> damnit

Edit again : but yes, programs that call other programs have mains like what you wrote, and C is stupid  :lol:  :lol:  :lol:
Bikeless in RVA

RVertigo

Well, it's like all the other BS stuff in programing...  You shouldn't GOTO...  You shouldn't exit mid-function...  You should always return a value...

Blah Blah...

I use void all the damn time...  But, I always catch flack from someone about it.   :roll:  Code nazis.

[/threadjack]

natedawg120

Yeah.  In mult program assignments we would catch flack.  But what our profs did all the freaking time is deduct way to many points for not comenting good enough, as in what alsmost every loop or return or line does if it could be confusing....... :x.   Only had one prof that if your program did as it was supposed to he wouldn't even look at the code. </continued threadjack>
Bikeless in RVA

RVertigo

I comment the crap out of everything...  But, I'm kinda forgetful.   :oops:
[/threadjack for real this time]

natedawg120

i feel you pain :lol:  :lol:  :lol:  :lol:, there was this one time a buddy of mine had a bug and he put in his code a bunch of prints and they printed the "profs name" / "is" / "an" / "ass" / "hole" / "!!!!" at diff times to debug.  If it all came out it was fixed.  Well he forgot to take it out before he submitted the program.  The prof didn't like that, but i laughed my butt off cause he ran that program for the class and had the guy explain. :lol:  :lol:  :lol:  :oops:  :lol:  :lol:  :lol:  :lol: </returning power back to child abuse>
Bikeless in RVA

Blingmasta

I could keep takin them out until I was completely exhausted. I'd say at least 40 or 50. But on the other hand, 5 minutes ago, if you had told me that right now I'd be trying to guestimate how many preschoolers I could destroy before they got me, I woulda said "That's AWESOME."


1995 GS500E
2001 Yamaha TTR225 - Sold
1994 Suzuki DR125
1995 Dodge Dakota 4X4 V8 on 31" All Terrains.

zukiGS500

One at a time i could see taking out 40 or 50, but the rule is, its all at once. I got 100 bucks that says 50 of them could take you.
You cant drink all day if you dont start first thing in the morning

I wish my lawn was emo, so it would cut itself.

If there's no bacon, it might as well be vegetarian
-asz

2002 GS500 - Everything is better nakid!

Blingmasta

well, I'm assuming that they're not bloodthirsty zombies that will be biting chunks out of my flesh as fast as they can.
















Or maybe I'm just tryin to sound like a badass by pwning preschoolers.


1995 GS500E
2001 Yamaha TTR225 - Sold
1994 Suzuki DR125
1995 Dodge Dakota 4X4 V8 on 31" All Terrains.

Badger

Quote from: RVertigoint main (arv v[], arg c)

Is that right?  :lol:  
No.

int main(int argc, char* argv[], char* envp[]) {}

zukiGS500

char* envp[]

I dont think Ive ever seen that before. Whats it for?
You cant drink all day if you dont start first thing in the morning

I wish my lawn was emo, so it would cut itself.

If there's no bacon, it might as well be vegetarian
-asz

2002 GS500 - Everything is better nakid!

Badger

It's ANSI C (they removed it from the C++ spec), but it's still a common UNIX extension and is supported in the MS compiler.

It passes in the environment variables.

Jake D

That commuter shaZam! might as well be f%$king Clingon speak!  I don't know how you guys do it!  

Do you speak Drack, too Ramees?
2003 Honda VTR1000F Super Hawk 996

Many of the ancients believe that Jake D was made of solid stone.

Badger

Quote from: Jake DThat commuter shaZam! might as well be f%$king Clingon speak!  I don't know how you guys do it!  
Nuq daq yuch Da'pol? (Klingon for: Where you you keep your chocolate?)

RVertigo

Quote from: Badgerint main(int argc, char* argv[]) {}
Oh yeah...  THat's why I didn't put it up at first...  I couldn't remember it...  I've been using TestML for too long.  It's based on C, but it's totally untyped and sloppy as hell.   :dunno:
[/klingon]

SMF spam blocked by CleanTalk