Find Jobs
Hire Freelancers

C++ : Create a console get_string() function (Windows 7/8/10)

$100-101 AUD

Käynnissä
Julkaistu lähes 3 vuotta sitten

$100-101 AUD

Maksettu toimituksen yhteydessä
This project requires you to create a get_string() function that gets key presses from the windows queue (callback). Instead of relying on cin>> or threads, the function will need to check key presses in the queue and create something that looks just like cin>> but with the advantage of allowing us to continue running the rest of our code, rather than just waiting for the user to submit something. The function will look like this: bool get_string(sting message, string & input) This means the function will return a bool, true if something was submitted (i.e. [enter] was pressed), and false if [enter] was not pressed. If [enter] was pressed, then whatever was found in the queue will be placed in the variable 'input' which was passed by reference. You will likely need to create a global variable to keep track of when the function is checking for user inputs, so that you can clear old key presses. Here is an example of how the code could be used: string myString while(1) { clear_console(); // (Ignore the flicker - I can fix this later) if(get_string("Type something: ", mySting)) { cout << "You typed: " << myString << endl; pause(); } } Remember, the get_string() function will return IMMEDIATELY, it will not wait for user input, all it does is check the queue. Also, please ensure that the function works similar to how cin>> works, allowing the use arrow keys and backspace. Maximum budget for this project is AUD$100. Higher bids will be ignored. To prove that you have read this message, please type "Hi Alex" at the top of your message.
Projektin tunnus (ID): 30062882

Tietoa projektista

7 ehdotukset
Etäprojekti
Aktiivinen 3 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
7 freelancerit tarjoavat keskimäärin $100 AUD tätä projektia
Käyttäjän avatar
Hi Alex I'm interested in your project. I have experience with 5 years experience of dealing with C/C++. I can finish your project on time. I hope to work on the project with you. Regards.
$100 AUD 2 päivässä
4,9 (6 arvostelua)
3,1
3,1
Käyttäjän avatar
==== Able to start work right away ==== Hi Alex I have read your job specification very carefully. I have rich experiences with C++ and Algorithm. As a talented and skillful software developer, I am 100% sure to complete this job perfectly on time and on budget. I am ready to get started my work right away. I hope your kind contact to discuss more. Best regards Ming Wang
$101 AUD 2 päivässä
5,0 (4 arvostelua)
2,7
2,7
Käyttäjän avatar
Hi Alex! I have read your message, this is my bid. I am a C++ programming expert who has and have made numerous projects in this field, A recent one is a very strong chess engine written in C++. I have studied many areas of C++ programming in depth and have applied them to both my projects and with my clients in freelancer. I have understood your requirement and know exactly what to do. This is something known as non-blocking input and I needed this in one of my projects (Where you simply want to read if theres anything in STDIN without halting the code). There are hundreds of places where one might find something like this useful. I am ready to write this function and will deliver to you in well written code and with my excellent communication skills you will enjoy working with me :) Please get back to me through chat, and I will start working on it immediately. Looking forward to working with you!
$100 AUD 1 päivässä
5,0 (9 arvostelua)
2,9
2,9
Käyttäjän avatar
Hi Alex, Hi have good experience in C++, your requirements are doable for me. You can expect the quality well tested code that follow a consistent coding style.
$100 AUD 5 päivässä
5,0 (4 arvostelua)
2,6
2,6
Käyttäjän avatar
DEAR understood the details that you want are looking for the C++ programmer i am a professional with 7+ years experience in C++ Programming I can deliver result with good quality at the right time. I'm interested to discuss more about the project. If you award me the project, I'd be very happy to work for you and satisfied result will bea returned to you as soon as possible. Thanks!
$101 AUD 7 päivässä
0,0 (0 arvostelua)
0,0
0,0
Käyttäjän avatar
Hello I am very interested in your project. I have over 10 years of rich experience and technology in desktop app. I am proficient in C++. I've check your job requirement and can give the perfect result. If you would like high-quality work with a fast turn around for a fair price, contact me. You won't be disappointed. The timeline can be discussed. Looking forward to work with you! Thank you
$100 AUD 1 päivässä
0,0 (0 arvostelua)
0,0
0,0
Käyttäjän avatar
Hi Alex i am an IT Student Who Works As A Freelancer I Am specializing on C and C++ And I Can Create This Function regards!
$101 AUD 7 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan AUSTRALIA lippu
Private, Australia
5,0
24
Maksutapa vahvistettu
Liittynyt jouluk. 9, 2014

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.