>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
...
Type: Posts; User: Griever
>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
...
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; .
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...
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...
if i try with windows api will be easier?
would you mind posting the part of the code where program receives input?
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...
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...
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 ,...
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 (...
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...
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...
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...
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...
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...
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...
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...