Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

WHAT IS THIS

Name: Anonymous 2009-04-08 14:04

int main (text here)

What does that text do? I just joined a C++ class and the professor half-assed everything. I'll probably end up just learning from books.

Name: Anonymous 2009-04-08 14:05

I just need to know wha the (text here) does

Name: Anonymous 2009-04-08 14:11

Its declaring that the argument here is of type text.

Name: Anonymous 2009-04-08 14:16

>>3

can you give me an example of some argument types?

Name: Anonymous 2009-04-08 14:17

>>4

(int argc, char* argv[]

google it

Name: Anonymous 2009-04-08 14:20

Your class sucks or you are a moron.

Name: Anonymous 2009-04-08 14:34

anux

Name: Anonymous 2009-04-08 14:46

>>6
I'd say it's Maybe both

Name: Anonymous 2009-04-08 14:56

>>8
I'd say it's Just him.

Name: Anonymous 2009-04-08 14:59

>>1
main() is the entry point to your program. The two parameters being passed to it represent the command line of the program. The first parameter, argc, is the number of items on the command line. The second parameter, argv, is an array of pointers to strings (character arrays).

Name: Anonymous 2009-04-08 15:12

>>9
It's Either that or WHBT.

Name: Anonymous 2009-04-08 15:15

>>10
DHH!!

Name: Anonymous 2009-04-08 15:34

>>8-9,11
GET THE FUCK OUT HASKELL YOU'RE DEAD

Name: Anonymous 2009-04-08 15:39

>>13
YOU'RE

Name: Anonymous 2009-04-08 16:01

>>14
It must'f[1] been an act of The God Almighty to curse /prog/ with this meme of irredeemable failure.

_____________________________________________________________
[1] must'f is a contraception of must of

Name: Anonymous 2009-04-08 17:49

>>1
Read the book called ``SICP''.

Name: Anonymous 2009-04-08 17:55

>>1
>What does that text do? I just joined a C++ class and the professor half-assed everything. I'll probably end up just learning from books.
Oh no, anything but books!

Name: Anonymous 2009-04-08 18:34

>>15
Your not wrong.

Name: Anonymous 2009-04-08 21:51

(int argc, char* argv[]
Did you mean:
int argc char** argv[] ?

Name: Anonymous 2009-04-09 1:04

>>19
What language is that?

Name: Anonymous 2009-04-09 3:14

>>19
Two-dimensional command line parameters?

Name: Anonymous 2009-04-09 3:15

>>21
yhbt

Name: Anonymous 2009-04-09 8:14

>>22
Actually >>19 was a typo.

Name: Anonymous 2009-04-09 10:40

>>23
Actually >>19 was a gigantic faggot, and I can only assume always has been, and always will be.

Name: Anonymous 2011-02-04 17:41

Don't change these.
Name: Email:
Entire Thread Thread List