Search:

Type: Posts; User: papedum

Search: Search took 0.00 seconds.

  1. Thread: need some help

    by papedum
    Replies
    4
    Views
    993

    I think you are confused with the data types....

    I think you are confused with the data types. Since you declare c as int, why do you put c=='x' ? 'x' is for character. Also for c1, it's declared as char so when you assign 1 to it, you need to put...
  2. Thread: pointer

    by papedum
    Replies
    6
    Views
    972

    pointer

    Is (*ptr).age the same as ptr->age?

    Thanks.
  3. Thread: Binary Tree

    by papedum
    Replies
    12
    Views
    1,952

    Thanks Prelude. Sorry to bother you again,...

    Thanks Prelude.

    Sorry to bother you again, but I would like to know how the CTRL+Z works.

    Is scanf(..., &num)==1 similar to a boolean true or false where 1 stands for true.

    Is there any...
  4. Thread: Binary Tree

    by papedum
    Replies
    12
    Views
    1,952

    Binary Tree

    I need help!!

    There is a question where I have to create a program to perform Inorder on the following data:
    60, 40, 80, 22, 55, 99

    I think I got the right coding for Inorder. But I have...
  5. Thread: beginner

    by papedum
    Replies
    11
    Views
    1,540

    You should check your last printf statement...

    You should check your last printf statement
    printf("%d,\n", &prime_answer);
    You should omit the & otherwise you might get some funny answer.
  6. unsigned numbers: for positive numbers signed...

    unsigned numbers: for positive numbers
    signed numbers: for positive and negative numbers
  7. Thread: quicksort

    by papedum
    Replies
    1
    Views
    1,094

    quicksort

    Help! I have problem with quicksort. I think it's to do with the partition function but I just don't know what. The code is below.

    Thanks a million.
  8. Thread: Link List

    by papedum
    Replies
    3
    Views
    1,864

    Link List

    Hi!
    I have some problems with this prgram on link list.I am unable to insert and delete nodes. I also want to know how to display the items in a link list. I suspect there may be pointer problem but...
Results 1 to 8 of 8