Search:

Type: Posts; User: Griever

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,322

    >I want to be able to access Ethfrm->ptr->fr_ref...

    >I want to be able to access Ethfrm->ptr->fr_ref which would be the reserve of Ethfrm
    >And Ethfrm->ptr->fr_route be the Ethfrm->buffer[0-3]

    i think you want this : (*((*Ethfrm)->ptr))->fr_ref
    ...
  2. Replies
    3
    Views
    2,353

    yes that's the problem.check what the search...

    yes that's the problem.check what the search function returns when it finds nothing.a quick solution is to initialize variable found in delete function as int found=0; or int found =FALSE; .
  3. Replies
    6
    Views
    1,330

    hmm,ok i will try with GTK+ then."widgets",have...

    hmm,ok i will try with GTK+ then."widgets",have seen this mentioned many times. i guess i should start with understanding that part. do you know any book about GTK+ ,that uses simple language and has...
  4. Replies
    22
    Views
    2,378

    i am using Dev-C++.i never had done something...

    i am using Dev-C++.i never had done something like the thing you mention but if adding files in a project is what you want to do you could try this : locate project's little icon on the left (not the...
  5. Replies
    6
    Views
    1,330

    if i try with windows api will be easier?

    if i try with windows api will be easier?
  6. Replies
    16
    Views
    2,874

    would you mind posting the part of the code where...

    would you mind posting the part of the code where program receives input?
  7. Replies
    16
    Views
    2,874

    if( strcmp("abs",op)==0) { if ( m >= 0) ...

    if( strcmp("abs",op)==0)
    {
    if ( m >= 0)
    return m;
    else
    return -m;
    }

    use strcmp (string compare).it returns the difference of the ASCII values of each...
  8. Replies
    6
    Views
    1,330

    Need your experience

    Hello.Semester ends and i was thinking of making a basic simple program running on a window (all my exercises were console applications) when i got time after exams.

    I got some basic knowledge...
  9. Replies
    160
    Views
    1,234,081

    Sticky: Let Us C by Yashwant Kanetkar...

    Let Us C by Yashwant Kanetkar which is suggested here is a fantastic book.i have an assignment about reading a file of structures,copying them in a table , creating a new sorted one from it ,...
  10. Replies
    23
    Views
    4,216

    i upload the final version of my code to anyone...

    i upload the final version of my code to anyone who is interested(i changed every message and comment to english).could not have done it without your help.

    code contains DOS commands (...
  11. Replies
    23
    Views
    4,216

    ah yes you are absolutely right... i wanted to...

    ah yes you are absolutely right... i wanted to convert my code in using pointers functioning like when i was using global variables that i did not make a simple check of what is actually needed to...
  12. Replies
    23
    Views
    4,216

    nope there is a problem when i call enqueue and...

    nope there is a problem when i call enqueue and dequeue function in the showqueue.the **fro must pass to the two functions somehow and i cannot think of anything.

    maybe you will understand my...
  13. Replies
    23
    Views
    4,216

    i did not posted it to keep the code size small,...

    i did not posted it to keep the code size small, since this is clearly a pointer syntax question but ok here it is.it works without problems now :




    int dequeue(int *it,struct node...
  14. Replies
    23
    Views
    4,216

    hi again guys.half of the code is working now,but...

    hi again guys.half of the code is working now,but still struggling with pointers.my next problem now is passing the *front and *rear
    second time in a function.

    i want to use the enqueue function...
  15. Replies
    23
    Views
    4,216

    from the little i know,system("PAUSE") works only...

    from the little i know,system("PAUSE") works only on windows systems (DOS command) and on C.

    and itCbitC thanks for your time too.i see you are passing addresses than the whole pointers.i tried to...
  16. Replies
    23
    Views
    4,216

    looking at it for days,never thought of using a...

    looking at it for days,never thought of using a pointer with a function.also the use of pointers in enqueue function make sense now.thank you very much for your time,you indirectly helped the whole...
  17. Replies
    23
    Views
    4,216

    Passing lists to functions

    First of all i would like to greet the forum,i just registered.Hope someday to be able to help here too,like you.

    My assignment is about implementing a linked stack and a linked queue and my...
Results 1 to 17 of 17