Search:

Type: Posts; User: killer9012

Search: Search took 0.01 seconds.

  1. Thread: Pointer

    by killer9012
    Replies
    20
    Views
    1,987

    assignement is due tomorrow, and we've already...

    assignement is due tomorrow, and we've already confirmed hes inconfident, guess il do the best i can!
  2. Thread: Pointer

    by killer9012
    Replies
    20
    Views
    1,987

    #include using namespace std; int...

    #include<iostream>

    using namespace std;

    int X = 123 ;
    float Y = 456.7f ;
    double Z = 9876.54321;

    void D( int N )
    {
  3. Thread: Pointer

    by killer9012
    Replies
    20
    Views
    1,987

    weird numbers such as -8164983 come out...

    weird numbers such as -8164983 come out...
  4. Thread: Pointer

    by killer9012
    Replies
    20
    Views
    1,987

    but if the pointer is not poiting to anything,...

    but if the pointer is not poiting to anything, asking it what it points to would be illegal wouldnt it?
  5. Thread: Pointer

    by killer9012
    Replies
    20
    Views
    1,987

    well i supposed to sho the contents of all...

    well i supposed to sho the contents of all variables, the pointers included, which would be illegal to acess their content, since they dont point at anything, thus have no content, right?
  6. Thread: Pointer

    by killer9012
    Replies
    20
    Views
    1,987

    so if by asking for the contents of the pointers...

    so if by asking for the contents of the pointers when their not acossiated to anything, isnt that illegal too, since their pointing to random spots in the memory that the program may not eve have...
  7. Thread: Pointer

    by killer9012
    Replies
    20
    Views
    1,987

    so the code i posted is correct in refferance to...

    so the code i posted is correct in refferance to the size and contents and adress... so x y z are stored staticly and all the pointers stored dynamicly? what about a, b, etc in the void functions?...
  8. Thread: Pointer

    by killer9012
    Replies
    20
    Views
    1,987

    Pointer

    #include<iostream.h>

    int X = 123 ;
    float Y = 456.7f ;
    double Z = 9876.54321;

    void D( int N )
    {
    int d = 4444 ;
    }
Results 1 to 8 of 8