Search:

Type: Posts; User: nilathinesh

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,261

    on ericwu when you had those as separate...

    on ericwu



    when you had those as separate files... you have called the create function as

    create(front, end); // This is pass by value

    and in create function create(struct data *front,...
  2. Replies
    8
    Views
    1,261

    hi ericwu, here i modify your create function and...

    hi ericwu, here i modify your create function and also in main() to work correctly

    inside main() call...as


    create(&front,&end);
  3. Replies
    14
    Views
    2,336

    Thanks to all... but still i could not ensure is...

    Thanks to all... but still i could not ensure is it compatible with C99 !?.. but i assume it is not... with all 'C' and doze off by collegue. :-)
  4. Replies
    14
    Views
    2,336

    quzah... I understand that it is wrong to...

    quzah...


    I understand that it is wrong to access the pointer as array.. But one of my collegue informed that it is compatible in C99 so i tried..

    what is the wrong on it... !?


    Dont think...
  5. Replies
    14
    Views
    2,336

    And now i tried this as below and it compiles.. i...

    And now i tried this as below and it compiles.. i am not sure is it ok..



    #include <stdio.h>
    struct structag
    {
    int a;
    struct structag *ptr;
    };
  6. Replies
    14
    Views
    2,336

    Thanks salem... since i dont want to declare...

    Thanks salem...

    since i dont want to declare it as array of pointers since, i dont know the size in the compile time, so i have declared this as pointer itself.. (i assume not wrong)

    But...
  7. Replies
    14
    Views
    2,336

    Quzah.. Is my question is not understandable ......

    Quzah.. Is my question is not understandable ...

    I am not having a problem in posting it... But it is in my linux environment.. i am posting this question from XP...
  8. Replies
    14
    Views
    2,336

    Incompatible pointer type !?

    hi

    i am having an structure like



    struct structag
    {
    datatype datavariable;
    struct structag *ptr2struct;
  9. Replies
    2
    Views
    6,495

    Thanks grumpy ...

    Thanks grumpy ...
  10. Replies
    2
    Views
    6,495

    why Multiple define error ...

    hi,

    i have created a header file with guard and it looks like

    somehead.h as

    .
    .
    some #defines
    .
Results 1 to 10 of 10