Devam Ediyor

Convert c code into php

Project Description:

You completed this same project for me 8 months ago. The project name was similiar to this project's name.

I have a simple c program that I need to be converted into php, then inserted into an existing program I will attach the original c program that you can execute from a dos prompt and test results. I am including source code and test results as well.

## Deliverables

Here's the info regarding the algorithm written in C that must be converted to PHP.

I'm going to send the actual c code - called 1tm-036.cpp. I'm also going to send an exe which you can run to see the results from the cpp program. Note, I renamed the exe to exexxx. I'm also sending a test doc that presents a sampling of codes to test and the results.

Here's how to run the dos program the runs the test algorithm.

To run the 'dos' program,

1) copy the exe program ([url removed, login to view]) into a directory.

2) open up a command prompt and navigate to the directory with the [url removed, login to view] program

3) type into the command prompt [url removed, login to view] xxxx where xxxx = a code. **Do not enter the A**. For example [url removed, login to view] 3833 returns a set of values with for example a value of 4056 for 150 treatments.

A separate screen will appear with a set of results. These results are different than what the website is presenting.

This is a quote from the engineer who wrote the c code:

The algorithm is fully expressed in the C code, which is less than a page long. The heart is the random number generator. Each new 16-bit random number is generated by creating a new LSB from the XNOR of the current bits 15, 4, and 3, and shifting the new bit into the LSB as the previous number is shifted left, discarding bit 15.

The starting seed is the code given by the unit (4 digits). The random number generator is cycled 5 times on this seed (the 5 is a parameter that can be changed if there comes a need to change the "codebook"). Each new random number is then used as the code for each consecutive entry in the TreatmentLookup table.

Beceriler: C Programlama, PHP

Daha fazlasını görün: what is a programming algorithm, what is an algorithm in programming, what is algorithm in programming, what is a algorithm in programming, website source code in php, website programming codes, unit test generator, test code generator, test algorithm, source code program php, source c code, simple algorithm example, shifting bits, set in c, set bits in c, set bits, set bit in c, set a bit in c, random number in cpp, random number cpp, random cpp, programming with cpp, programming algorithm example, open source c++ code, example of an algorithm in programming

İşveren Hakkında:
( 46 değerlendirme ) United States

Proje NO: #4439176

5 freelancer bu iş için ortalamada 16$/saat teklif veriyor

mmuhasan

Hi, I can do this work. Please check PM for details. Thanks

15$ USD / saat
(97 Değerlendirme)
5.7
otssolutions01

Hi, We are a 10 year old professional IT software company. We would like to work on this project. Please find more details in your PMB. Thanks.

20$ USD / saat
(2 Değerlendirme)
4.9
honeypotant

Dear Sir. I'm very interested in your job post involving these skills. I have consistently delivered projects on time and under budget, which has earned us many positive ratings, as you'll see in work history. I Daha fazlası

20$ USD / saat
(23 Değerlendirme)
4.9
programer218

I can work your project!

21$ USD / saat
(12 Değerlendirme)
3.9
kandamunlabs

I am a professional C/C++ programmer.

16$ USD / saat
(11 Değerlendirme)
3.8
stevecorsi

Ready to start

16$ USD / saat
(1 Değerlendirme)
1.4
faycal388

hello, i see that it will be difficult but i want to take my chance

20$ USD / saat
(1 Değerlendirme)
0.1
krishcompusoft07

lets start sir......KICK OFF THIS PROJECT

15$ USD / saat
(0 Değerlendirme)
0.0