Thanks mate.
In case of using '\0', as a teminator of send. does this may cause the client hung and not recieving the other strings may be send after the first one?!!
Type: Posts; User: Sam_bham
Thanks mate.
In case of using '\0', as a teminator of send. does this may cause the client hung and not recieving the other strings may be send after the first one?!!
I want to write client-server program. The server should send many strings (messeges) and get response from the user on the client-side, here is in example:
on the server-side:
....
char...
That is the declaration for n and sorted_stocks:
for sorted_stocks:
//global
typedef struct node
{
Item item;
struct node *next;
Thanks for all of you,
I tried to implement the approach on the following link ( for Kent):
http://www.experts-exchange.com/Programming/Programming_Languages/C/Q_20754585.html
but I am having...
I wonder if someone answers my question, if somebody tried to use qsort to sort link-list?!! :eek:
Thans for your help. But the problem still exists,
Since reading the same file to an array of structures was successful, but reading it to linked-list gives incorrect result due to the next field...
What I sent you is just a few segment of my projct, just to show you part of the implementation, the program read some data but was incorrect for some reason. I think using the the following...
I want to write a program that read the binary file to linked-list, here is my code:
but I wasn't been lucky to run it, any suggestions?!!
Can I use pointers to do the job.
Thanks
Thanks for you reply, actually I need to use qsort() function. I got a global array of structure as follows:
RECORD record[MAX_NO_ITEM]; //global- kept without change
and I have a...
I need help to assign two array of stractures to each other?!!
Many Thanks