Find Jobs
Hire Freelancers

Debug short c++ code

$10-30 USD

Κλειστή
Αναρτήθηκε περίπου 7 χρόνια πριν

$10-30 USD

Πληρωμή κατά την παράδοση
Please can you fix the bug where i'm getting for some values of orderReverse -1 original value from order ? //main int order[4] = { 0 }; while (nDataLen >= 2 * 4) { func3(order, readFile); unsigned int previous = 0; unsigned int w = 1; for (int i = 0; i < 4; i++) { previous += w * (order[i]); w *= 256; } } char bitStringr[33] = {'0'}; Get_string32_from_SIZE4_VALUE(bitStringr, previous); int orderReverse[56]; orderReverse[0] = Get_CHAR_ARRAY_SIZE4_FROM_VALUE(bitStringr); int ic = 0; char bitStringr1[33] = {'0'}; for (int i = 8; i < 16; i++ ) { bitStringr1[ic] = bitStringr[i]; ic++; } orderReverse[1] = Get_CHAR_ARRAY_SIZE4_FROM_VALUE(bitStringr1); ic = 0; for (int i = 16; i < 24; i++) { bitStringr1[ic] = bitStringr[i]; ic++; } orderReverse[2] = Get_CHAR_ARRAY_SIZE4_FROM_VALUE(bitStringr1); ic = 0; for (int i = 24; i < 32; i++) { bitStringr1[ic] = bitStringr[i]; ic++; } orderReverse[3] = Get_CHAR_ARRAY_SIZE4_FROM_VALUE(bitStringr1); //Functions void Get_string32_from_SIZE4_VALUE(char* sz_output, unsigned int val) { sz_output[0] = 0; unsigned int v = 1; unsigned int n = 0; for (int i = 0; i < 32; i++) { sz_output[n++] = (val & v) ? '1' : '0'; v <<= 1; } sz_output[n] = 0; } char Get_CHAR_ARRAY_SIZE4_FROM_VALUE(char* sz_input) { unsigned short v = 1; unsigned short n = 0; for (int i = 0; i < 32; i++) { n += (sz_input[i] == '1') ? v : 0; v <<= 1; } return n; } void func3(int* dst_Array, FILE* src_InputFile) { char buf[8];///////////////////////////// fread(buf, 1, 8, src_InputFile); for (int i = 0; i < 4; i++) { dst_Array[i] = buf[i]; } }
Ταυτότητα εργασίας: 13810081

Σχετικά με την εργασία

17 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 7 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
17 freelancers δίνουν μια μέση προσφορά $26 USD για αυτή τη δουλειά
Avatar Χρήστη
Hello I'm interesting your project very well I'm a Good C++, Java, Debug, Math, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
$35 USD σε 1 ημέρα
4,9 (714 αξιολογήσεις)
8,9
8,9
Avatar Χρήστη
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$30 USD σε 0 ημέρα
4,9 (144 αξιολογήσεις)
7,0
7,0
Avatar Χρήστη
I am a Contest Programmer and My fav language is c/c++. I can solve your problem. and I am an ex-software developer in a reputed company in Bangladesh and working in this field for 2 years. Through this, I have gathered a good knowledge about this field. I think I will be able to please you with my work in no time.
$15 USD σε 1 ημέρα
5,0 (5 αξιολογήσεις)
3,5
3,5
Avatar Χρήστη
Good day, I'm pretty sure your project was posted twice and so I'm bidding on both. This will more or less be a repeat of what I put on the previous bid: I'd be happy to assist you with this task. I have extensive experience in C++ as it was the primary language used for all projects while completing my degree (education) in Canada. Please PM me to discuss further and I can get started right away! Thanks, Justin
$25 USD σε 1 ημέρα
5,0 (1 αξιολόγηση)
0,8
0,8
Avatar Χρήστη
Hy i m haroon from pakistan, i can do this . If u r willing then i will solve your issue
$25 USD σε 1 ημέρα
4,6 (2 αξιολογήσεις)
0,9
0,9
Avatar Χρήστη
Hi, I'm very interested in getting this job. I can give you the results you are expecting in 10 minutes. I only need information about some missing variables in your code (nDataLen, readFile and previous). Thank You!
$20 USD σε 0 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
Will resolve the error and also tell you how you can optimise this piece of code.
$30 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
i am good with c++, and have great knowledge and experience. i think i can debug your code on time. looking forward to work on this.
$15 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
actually i've never done work online for someone before .. but i'm a good c++ programmer that could help you .. and i'm ready to do your work for less price
$25 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της LEBANON
Beirut, Lebanon
5,0
45
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Απρ 25, 2016

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.