Convert this Java class to C++ 17

I need this class converted to c++

The purpose of this class is to input a number and get the names

i.e 1000 = 1k, 1100 = 1.1k, 100000 = 100k, 1000000 = 1m 1100000 1.1m and so on

public class NumberNames {

private static final String[] NAMES = new String[]{























private static final double THOUSAND = 1000;

private static final NavigableMap<Double, String> MAP;

static {

MAP = new TreeMap<>();

for (int i = 0; i < [login to view URL]; i++) {

[login to view URL]([login to view URL](THOUSAND, i + 1), NAMES[i]);



public static String createString(Double number) {

if(number == null) {

number = 0.0;


[login to view URL]<Double, String> entry = [login to view URL](number);

if (entry == null) {

return [login to view URL]();


double key = [login to view URL]();

double d = key / THOUSAND;

Double m = number / d;

float f = [login to view URL]() / 1000.0f;

float rounded = ((int) (f * 100.0)) / 100.0f;

if (rounded % 1 == 0) {

return ((int) rounded) + " " + [login to view URL]();


return rounded + " " + [login to view URL]();



Квалификация: Java, Программирование на C++

Показать больше extract class jar convert java, convert java class file jar, convert java to c, how to convert java to c, Convert java to C#, convert java to c++, convert java to c++ online, software to convert java to c++, convert c# class to java class online, convert java to c# visual studio 2015, convert java class to python, convert java to c# online, convert java to c# visual studio 2017, convert java in c language

О работодателе:
( 9 отзыв(-а, -ов) ) United Kingdom

ID проекта: #22796779



Hello. How are you. I'm software engineer and algorithm expert. I have many experiences in c, c++, c#, java, python, node.js. I can complete your project successfully. Thanks.

£15 GBP за 1 день
(2 отзывов(-а))

14 фрилансеров(-а) в среднем готовы выполнить эту работу за £20


VERY EASY FOR ME As you can see in my review, I've done similar with yours Hello. I have read your description and I am so interested in your project. I am confident in your project and I can finish it clearly on time Больше

£20 GBP за 1 день
(91 отзывов(-а))

Hi. I would like to do this project for you. I am quite good with both, Java and C++ and I can do this quickly. Message me to discuss more details about your project

£18 GBP за 1 день
(54 отзывов(-а))

Greetings! I have gone through project and I know what you are looking for. I have done similar work in the past, so it won't take much of your time. Do not pay me until you get full satisfaction. I am looking forward Больше

£20 GBP за 1 день
(11 отзывов(-а))

Hello, ⭐⭐⭐⭐⭐ i am interested in this project , i can convert this class to c++ easily can begin now waiting your answer on chat Regards ⭐⭐⭐⭐⭐

£15 GBP за 1 день
(17 отзывов(-а))

Hello! I saw your project details and very interested in it. I have rich experience in developing C/C++, JAVA programs for +8 years. If you hire me, you will receive satisfied result. I can work right now and full time Больше

£20 GBP за 1 день
(3 отзывов(-а))

Hi, sir. Nice to meet you. I checked your project description carefully and I have understood fully your requirements. I am a C++/Java expert and have many experiences with Applied math and Algorithm. I can convert thi Больше

£15 GBP за 7 дней(-я)
(3 отзывов(-а))

Hello i am a Java Developer and i want to do your project in your given deadline. My Main focus is give you a good result according to your requirements. Hope you get a good result after hiring me. Thanks!

£10 GBP за 1 день
(5 отзывов(-а))

Hello, I'm interested in your project. Please send me a message so that we can discuss more. I prefer to submit my detailed proposal after our discussion. Note: + We are flexible with changes. + [login to view URL] Больше

£50 GBP за 7 дней(-я)
(6 отзывов(-а))

Hi! Nice to meet you. My name is Nemanja, c expert from Russia. I have read your project detail carefully. I have about 10 years of experience. I can complete your job within a few hours. please contact me so that we Больше

£20 GBP за 1 день
(3 отзывов(-а))

Hi I can do it for you it is quite simple, send me a private message and we can discuss the details

£20 GBP за 7 дней(-я)
(2 отзывов(-а))

Hello. I have just reviewed your job description carefully. I'm a skillful C/C++ developer. I'll be great for an interview and can offer better estimate of time frames and costs. I assure that you will get high quali Больше

£15 GBP за 7 дней(-я)
(1 отзыв)

Dear Client, How are you doing?. I have read the description, I have great experience doing similar jobs related to these skills Algorithm,java,C# Programming, C++ Programming, FIX API, Software Architecture. Right no Больше

£20 GBP за 1 день
(0 отзывов(-а))

⭐⭐⭐Convert this Java class to C++ 17⭐⭐⭐ I have read your description in detail and got a convinced I can complete this work with my heavy experiences in Java and C++ My GitHub url and profile are here. https://github. Больше

£15 GBP за 1 день
(0 отзывов(-а))