C++ code Translation and Modifing (Need: ASAP!!!!) -- 2
$30-250 USD
Fechado
Publicado há aproximadamente 10 anos
$30-250 USD
Pago na entrega
Need some C++ code modified for a natural numbers project. Just some quick fixes for some number weights. To better understand the project. (Needs to be done ASAP!!!!)
Here is the assignment: The aim is to create a program that allows you to enter a natural number and which displays the or the weight(s) of each digit in this number. From this information (the weight of each figure), the number must be reconstituted. The weight represents the position of the digit The final display (7377683) comes from the reconstitution of the number from the weight of each digit. We will assume that the number entered does not exceed 9 digits (no need to make a capture control).In C++ you declare this number in "unsigned long int". Attention, the number reconstituted must be also in 'unsigned long int". You do not have the permission to use variables other than digital to manage this program. The program must work for several numbers: the judgment of the program will be when the entered number will be equal to 0.n the number, starting from the right (the first digit to the right is at position 0, it therefore has a weight 0).
Example: If the entered number is: 7377683 The display should give : 3 : 0 5 6 : 2 7 : 3 4 6 8: 1 7377683.
Explanation: The 3 has to weight 0 and 5 (because it is found in the position 0 and position 5 of the number, starting from the right ), the 6 has for weight 2, the 7 to for weight 3, 4 and 6, and the 8 has to weight 1. You must not display the figures which do not [login to view URL] final display (7377683) comes from the reconstitution of the number from the weight of each digit. We will assume that the number entered does not exceed 9 digits (no need to make a capture control).In C++ you declare this number in "unsigned long int". Attention, the number reconstituted must be also in 'unsigned long int". You do not have the permission to use variables other than digital to manage this program. The program must work for several numbers: the judgment of the program will be when the entered number will be equal to 0.
Work request Write the algorithm of the application, properly commented and indented. Encode this algorithm in C++ At the level of the display, in C++ , follow the requested format.
Important Note The code optimization will be valued.
Reminder about the format of the work to make the duty must be made by internet. The algorithm will be saved in a text file of the editable format of your choice (txt, doc, docx, odt, rtf .. but not pdf). At the level of the code, only the source file will be rendered (the file with the extension .cpp). Remember to zipper this file (the exension cpp may be refused at the time of the deposit of your duty on the site of the Cned, for security reasons).
NOTE: The whole project does not need to be done! Just some modifications.
Modifications example: If there's a 0 at the beginning or the end it should say "un zéro a été trouvé: erreur" (that is the error message) Instead of "Error: Please either enter a number between 1 and 999999999 or Exit to quit"
Code compilation is preferably done with VS2013.
The uploaded file is the C++ project that needs modifying built in VS2013.
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the lauguage is c++ under linux os. So, programming in c++ is never a problem. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ with the same meaning, of course garbage collection included. I made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
hello warm greetings.
I clearly understand your requirements.
Its an easy job, kindly ping me to discuss..
I think i can do this within minutes.
Regards
I am working with C, C++ and some scripting languages for last 14 years. I have the very good prior knowledge of Software Development and Full life cycle and also passionate about the C & C++ coding and designing.