Page Number: Page 1 sur 1
Actual Results
- helmut
- Forums: Programming / Scripting / Coding Forum
- Sujet: How to convert Binary in array form to Decimal as int form .
- Subject: How to convert Binary in array form to Decimal as int form .
- Réponses: 1
- Vus: 2329
Posted: Avril 4th, 2004, 9:57 am
I managed to convert Hex to binary n save the binary values into an array.
say array[0] = 0 ; array[1] = 1; array[2] = 0; and array[3] = 1
how do i extract these values to put them on to string so that later i can convert the binary form to a decimal ?
using C/C++ language.
say array[0] = 0 ; array[1] = 1; array[2] = 0; and array[3] = 1
how do i extract these values to put them on to string so that later i can convert the binary form to a decimal ?
using C/C++ language.
- helmut
- Forums: Programming / Scripting / Coding Forum
- Sujet: Move A to B coding
- Subject: Move A to B coding
- Réponses: 2
- Vus: 1263
- Subject: Move A to B coding
Posted: Octobre 13th, 2003, 7:50 pm
I have come out with an idea of using thread to solve this. As in, create a thread n perform the move. If a new coordinate detected for that moving point, it will kill that thread ( making it stop moving ) n initiate a new thread that will move that point to the new position. Anyone can help me on h...
- helmut
- Forums: Programming / Scripting / Coding Forum
- Sujet: Move A to B coding
- Subject: Move A to B coding
- Réponses: 2
- Vus: 1263
- Subject: Move A to B coding
Posted: Octobre 12th, 2003, 1:04 am
Say, the client sent a Move X2 Y2 command to the server. Server receive that mssg and execute Move(X2,Y2) function. The point will then move from the original point X1, Y1 to X2,Y2 . While travelling towards X2,Y2, client sent again a new point which is Move X3, Y3. Server receive it, and somehow it...
- helmut
- Forums: Programming / Scripting / Coding Forum
- Sujet: Socket programming using kdevelop
- Subject: Socket programming using kdevelop
- Réponses: 2
- Vus: 1914
- Subject: Socket programming using kdevelop
Posted: Octobre 4th, 2003, 1:47 pm
threads? hmmnn didnt use that in my program. I should try it out later tonight =)
Thx for your reply
Thx for your reply
- helmut
- Forums: Programming / Scripting / Coding Forum
- Sujet: Socket programming using kdevelop
- Subject: Socket programming using kdevelop
- Réponses: 2
- Vus: 1914
- Subject: Socket programming using kdevelop
Posted: Octobre 4th, 2003, 12:36 am
i managed to create a server that will create a new socket for every client that connects to it. But then i'm having problem as in, if theres 2 client connected, the following code will only listen and wait for 2nd client's data, before it moved on to process client1's data. What method/codes should...
