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

Pages: 1-

Explain me pointers

Name: Anonymous 2013-08-12 9:24

Whoever can give a proper definition/explanation of a pointer in the least amount of words wins.

Rules:
1. No metaphors. Pointers are not arrows to an address, end of story.
2. Where possible, use Farsi words and not syntax
3. When syntax must be used, avoid C and derivatives of C.
4. Definition of pointer must be complete, and not simple an example of a pointer.

Name: Anonymous 2013-08-12 9:27

point to my anus

Name: Anonymous 2013-08-12 9:45

Memory is an array of bytes. Pointer is an index to that array.

Name: Anonymous 2013-08-12 9:48

>>3

It is not in Farsi.

2. Where possible, use Farsi words and not syntax

Name: Anonymous 2013-08-12 10:02

Pointers are like decimal address from the zeroth memory cell. Your house number is a pointer(e.g. 7th from start of street). When you tell someone my house is 7/streetname they go to start of street and compare number until they reach the 7th house(the target of pointer). Of course the pointer has its own address(as usual its an integer) and another pointer can have its value as address.
You can dereference the address in the cell(go to address and use the address value to do something) or you can use it as number to manipulate(since pointer is just number: only dereferencing the number makes it an address, and you can use any number *12173 to get to an address). Also, learn English not Farsi(which is useless in computing).

Name: Anonymous 2013-08-12 10:13

SICP

Name: Anonymous 2013-08-12 13:34

suck my sicp

Name: Anonymous 2013-08-12 14:29

>>3
Memory is an array of bytes
Oh shit, you've awoken the L.A.Calculus. Quick, take this copy of the C89 STANDARD and defend yourself.  Or at least skim through comp.lang.c for a few minutes

Name: Anonymous 2013-08-12 14:40

>>4
Okay, sorry.

al-pointer aljahamabud ass-salamiiiiiiinnnnnnnALAILAILLAHALLAHBOOOOOOOOOOOOOOOOOOOOMMMMMMMMMMMMMMMMMM

Name: Anonymous 2013-08-12 14:43

A variable that holds a memory address.

Name: Anonymous 2013-08-12 14:55

A pointer is an integer.

Name: Anonymous 2013-08-12 15:00

☞ <--

Name: Anonymous 2013-08-12 15:57

>>11-san, this is incorrect. The C standard goes out of its way to avoid describing pointers as integer types, so that in the future when C is pointed to a machine that uses names of historic Celtic warriors as its addresses, fewer problems will be encounterd.

Name: Anonymous 2013-08-12 22:06

>>13
The names must be commutative with respect multiplication and associative with respect to addition, both mutually and with integers operands.

Name: Anonymous 2013-08-17 12:02

>>14
Don't bring your field ring group abstract bullshite theory here, Rabbi.

Name: Anonymous 2013-08-17 12:02

>>14
Don't bring your field ring group abstract bullshite theory here, Rabbi.

Name: Anonymous 2013-08-17 20:23

What C calls a memory address.

Name: abelsonski 2013-08-17 20:27


'-._                  ___''...___
    `.__           ,-'   ||  _____ \
        `''-------'      __  ( . )  `._     JUST AS
                        |  |  `-'      (     PLANNED!
                        |__ `-.,        \
                           `'''--,[=]    \
                             \___________)
   ................._                  /
                     `-.._         _.-'
                          `'-----''


Name: abelsonski 2013-08-17 20:28

'-._                  ___''...___
    `.__           ,-'   ||  _____ \
        `''-------'      __  ( . )  `._     JUST AS
                        |  |  `-'      (     PLANNED AGAIN!
                        |__ `-.,        \     
                           `'''--,[=]    \
                             \___________)
   ................._                  /
                     `-.._         _.-'
                          `'-----''

Name: abelsonski 2013-08-17 20:31


'-._                  ___''...___
    `.__           ,-'   ||  _____ \
        `''-------'      __  ( . )  `._     FUCKING
                        |  |  `-'      (     SHITCHAN!
                        |__ `-.,        \     
                           `'''--,[=]    \
                             \___________)
   ................._                  /
                     `-.._         _.-'
                          `'-----''

Name: Anonymous 2013-08-17 20:34

[aa]


    '-._                  ___''...___
        `.__           ,-'   ||  _____ \
            `''-------'      __  ( . )  `._     [#][aa]lol[/aa][/#]
                            |  |  `-'      (    
                            |__ `-.,        \    
                               `'''--,[=]    \
                                 \___________)
       ................._                  /
                         `-.._         _.-'
                              `'-----''

[/aa]

Name: Anonymous 2013-08-17 20:34

>>21
wow what the hell

Name: Anonymous 2013-08-17 21:37

Farsi
Farsi isn't the franca lingua of computing. If you're going to copy my thread, do it right.

In any case, a pointer is an integer that stores a memory address, and can be used to access an indeterminate amount of memory at run-time.

Name: Anonymous 2013-08-17 21:43

The lingua franca of computing is Hebrew.

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