Search:

Type: Posts; User: pnxi

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,219

    parameters in main()

    what does the parameters mean in the main() function, and how to use this kind of command parameters?


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

    char message[20];

    if(argc<2)
    {
  2. Thread: Casting malloc?

    by pnxi
    Replies
    44
    Views
    21,989

    realloc

    By the way, can any body expain how to use realloc() function, and it is better to use a example.
    Thanx for help!
  3. Replies
    44
    Views
    185,098

    Sticky: realloc

    By the way, can any body expain how to use realloc() function, and it is better to use a example.
    Thanx for help!
  4. Thread: pointer

    by pnxi
    Replies
    7
    Views
    1,338

    another quesiton

    if I say int a, *p;
    a = 20; p = &a; and
    *p == a ?
  5. Thread: pointer

    by pnxi
    Replies
    7
    Views
    1,338

    pointer

    if I declare a int variable a, and a int *p, let p point to a, p = &a;
    can I say *p == a; at the moment?
  6. Replies
    2
    Views
    1,477

    question about pointer?

    can I assign a consistant to a pointer varible? like
    int *p;
    *p = 13;
    ???
    or can i use pointer like this:
    int *p;
    int e = 13;
    *p == e;
    thanks for your help!can I assign a consistant to a...
Results 1 to 6 of 6