Jump to content
black_death_c4t

C + shared memory

Recommended Posts

Posted
Sa se scrie 2 programe : cient si server . Serverul creeaza un segment de memorie partajata de 50 de octeti in care pune valoarea 0 . Apoi , la intervale aleatoare de timp pune pe rand in cei 50 de octeti caracterul 'A' , apoi 'B' , ... , 'Z', 'A' , ... . Clientul acceseaza la 10 secunde zona si afiseaza la iesirea standard continutul ei .

Nu mai apuc sa o fac si pe asta :] raman dator aluia care ma rezolva.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...