Please support our C advertiser: Programming Forums
Views: 877 | Replies: 2
![]() |
•
•
Join Date: Mar 2007
Posts: 13
Reputation:
Rep Power: 2
Solved Threads: 0
Hi all, i'm making a client-server concurrent in C.
the client send me 2 binary number and an operator.
I'll must send him the result and if there's overflow, underflow.
i have made all the initial part of setting the server, children pool and so on.
i receive 2 binary number, each one is on 1 byte.
i store the number into socket buffer (it's a string) and later i sscanf the buf and take out the numbers.
the client give me the operator (+-*/) and the 2 numbers,
i think of making a switch analising the operator and make the opportune operation.
if someone can give me the source of binary operation in C i'm so happy.
because this homework isn't little, and this part is only a little part. thanks in advance.
the client send me 2 binary number and an operator.
I'll must send him the result and if there's overflow, underflow.
i have made all the initial part of setting the server, children pool and so on.
i receive 2 binary number, each one is on 1 byte.
i store the number into socket buffer (it's a string) and later i sscanf the buf and take out the numbers.
the client give me the operator (+-*/) and the 2 numbers,
i think of making a switch analising the operator and make the opportune operation.
if someone can give me the source of binary operation in C i'm so happy.
because this homework isn't little, and this part is only a little part. thanks in advance.
Last edited by roby4eldiablo : Mar 15th, 2007 at 12:50 pm.
>because this homework isn't little, and this part is only a little part.
Rationalize cheating however you want, but we won't spoonfeed you.
Rationalize cheating however you want, but we won't spoonfeed you.
I'm here to prove you wrong.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode