Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~10.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for zaxo311

I have to write program in c linux for operating systems class - communicator using fifo which has to work like that: ./Speak create name (to create user) ./Speak send from to (to send msg from user to user) ./Speak history name (to read all msgs sent to user Every …

Member Avatar for kdusyared
0
168
Member Avatar for zaxo311

So here's my problem I have inner structure inside of client. How can I know while reading from txt file that I'm reading item data or client data for my list? struct item { char item_name[30]; char item_state[30]; float item_price; char item_status[30]; float item_price_if_not; struct item *next; }; struct client …

Member Avatar for zaxo311
0
9K
Member Avatar for zaxo311

I'm trying to make make project for my programming class. All that's left is deleting elements and editing elements. Basicaly my question is how would I do it for my inner list? Or how would I delete single client from list? Would I first have to free the client's inner …

Member Avatar for zaxo311
0
423
Member Avatar for zaxo311

Im writing project for my programming lessons and right now got some problems with output from function AddItemToClient, basicaly its mainly with date, in first node its correct one but after this its just random. Could someone explain what I'm doing wrong here? #include <stdlib.h> #include <time.h> #include <string.h> #include …

Member Avatar for zaxo311
0
931
Member Avatar for zaxo311

I have following problem: I have 2 structures: Clients and items for example structure clients would have name and list of items from another structure asigned to this specific name I have to do this with singly linked lists. I simply have no idea how to do this would be …

Member Avatar for zaxo311
0
429