Simple C/C++ function to parse a string with 2 integers

Suoritettu Julkaistu 5 vuotta sitten Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

Hi,

I would like to have a function in C/C++ like this:

GetStartEndLimits(string input_string, DWORD start, DWORD end);

The function will receive a string with 2 hex numbers separated by a dash. Examples:

0x45000000 - 0x45000010

0x1000 - 0x1240

0x10 - 0x20

0x10-0x30

0x1000-0x2000

And it will return both start - end as integer (DWORD).

Thanks!

C-ohjelmointi C++ -ohjelmointi

Projektin tunnus: #17523207

Tietoa projektista

21 ehdotusta Etäprojekti Aktiivinen 5 vuotta sitten

Myönnetty käyttäjälle:

gligordelev

I do not understand why so many people bid so high for this project. I would honestly do the project for free.

$10 USD 1 päivässä
(1 arvostelu)
0.0

21 freelanceria on tarjonnut keskimäärin $23 tähän työhön

octopus823

Hello. I am skillful in C++. I can do this work successfully. I am ready to take your project right now. Lets discuss details.

$50 USD 1 päivässä
(105 arvostelua)
6.9
hbxfnzwpf

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 environ Lisää

$30 USD 1 päivässä
(153 arvostelua)
7.0
liangjongai

Hi! I'm interesting your project very well. I am a full time devloper. I am mastering c++ and I'm a good Mathematician. And also I have many experience and good skill about algorithm development. Let's go ahead w Lisää

$30 USD 1 päivässä
(70 arvostelua)
6.1
mehfuza

Dear Sir, I have read your project requirements and very interested to work on your it. I have experience of programming in C++ with String and hexadecimal to decimal conversion. I write well formatted code with commen Lisää

$25 USD 1 päivässä
(24 arvostelua)
4.5
mrhammadrauf

Hi I would like to work on this project. I have 2years of experience in programming. I am new on this site but proper freelancer on upwork that's why I review. Looking forward to work with you. Regards, HAMMAD RAU Lisää

$15 USD 1 päivässä
(11 arvostelua)
3.8
Mr012

Hi there I am confident programmer with firm grip in C/C++ I'll provide you quality work with 100% perfection as needed with guaranteed least rates Waiting for your response Thanks

$15 USD 1 päivässä
(8 arvostelua)
3.5
CoolTechie07

I can do this. Consider it done. Relevant Skills and Experience I'm a C++ developer. May see my portfolio.

$19 USD 1 päivässä
(1 arvostelu)
1.8
harrynguyen4005

i find out best solution with problem. Let give it me. I will hot fix and feedback right now, Thank you very much

$15 USD 1 päivässä
(0 arvostelua)
0.0
deepak23nanda

Hi there I am an Engineer with past experience in C and C++ coding. I can create the function as you want. Details in chat.

$15 USD 1 päivässä
(0 arvostelua)
0.0
Kavithan1093

A good start to develop a code and prove my efficiency

$20 USD 2 päivässä
(0 arvostelua)
0.0
dragonv88

I may help you make it in few minutes. Lisää

$15 USD 1 päivässä
(0 arvostelua)
0.0
mayankgpt92

I've had almost 10 years of programming experience, you problem is fairly simple. I can solve it in few minutes and also give you the explanation of each step and why I used it.

$25 USD 1 päivässä
(0 arvostelua)
0.0
AndresManggini

Hello, I have 20 years of experience developing application around the worlds with different technologies, I have experience working with C/C++ and I'm confident that I can provide you with the solution you need. Pl Lisää

$25 USD 1 päivässä
(0 arvostelua)
0.0
WhiteFinch

Hello! I can finish your project in less than 2 hours. I am a Software Engineer with expertise in C and C related languages like C++, C#, Java, etc. I have 5+ years experience in Software Engineering, spending much t Lisää

$30 USD 0 päivässä
(0 arvostelua)
0.0
aroosta

This is absolutely easy, just use sscanf(input_string.c_str(), "%x - %x", &start, &end). I'll do it in 20 minutes :-)

$15 USD 1 päivässä
(0 arvostelua)
0.0