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

POINTERS, STACK, CODESPACE, ETC

Name: Anonymous 2008-05-25 17:58

http://i30.tinypic.com/2z5itg5.jpg

Read and enjoy the lesson

Name: Anonymous 2008-05-25 19:24

>>6
A char pointer is basically a string
A char array is basically a char pointer


int main(int argc, char *argv[]) {
  int i = 0;
  while (i<argc)
    printf("%s\n", argv[i++]);
  return(0);
}


You're correct, the mem stack/heap aren't in the standard, but they ARE standard to x86 architecture, which is what most of us program on, and probably what you're using to post.  GTFO

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