Build a very simple c++ and ruby console application (Converting seconds to days/hours/minutes/seconds)
$30-250 CAD
Completed
Posted over 4 years ago
$30-250 CAD
Paid on delivery
The application to be developed consists of emulating the Linux uptime command, which displays the time elapsed since a server was started and its idle time since it started.
the app will use a file named uptime_file that contains the result as a
seconds. The following example shows the format of the contents of this file:
15005117.05 6945200.26
The first number (in seconds) is the elapsed time since the server was started, and the second
number (in seconds) is its idle time since it was started.
The result to display for the previous file uptime_file is as follows:
17:40:06 up 173 days, 16:05
17:40:06 idle 80 days, 9:13
In this example, 17:40:06 is the current time, the server is started since 173 days 16 hours and 5 minutes and the server total idle time is 80 days 9 hours and 13 minutes.
The result to display varies according to the number of seconds and is one of the following four cases (examples for
the first number of seconds):
- Case 1: the server has been operational for less than an hour
17:40:06 up 5 min
- Case 2: the server has been operational for less than a day but more than an hour
17:40:06 up 16:05
- Case 3: the server has been operational for 1 day
17:40:06 up 1 day, 5 min
17:40:06 up 1 day, 16:05
- Case 4: the server has been operational for several days (2 and more)
17:40:06 up 178 days, 5 min
17:40:06 up 178 days, 16:05
what to do:
in c++ and in ruby :
Write the application in CLI mode (can run on the command line. This application should be accompanied by unit tests.)
Write a private build
ps: for c++ use make for the private build
Dear client.
I read your description carefully and I can complete your task.
As a senior C++ expert, I have lots of experience for 10+ years.
I understood your requirements perfectly and I can finish it in a short time.
You can gain a successful result with my work.
I hope we can discuss via chat.
Thank you. Regards.
Hi Dear Client!
I have read explanation of your project in details.
I have rich experiences in c++/ Ruby console application development, so I can provide you best work.
As you can see in my background, I have much experience and assets in this field.
So, if I add some modification to that, you can surely get you want.
You will get to know another trustworthy and talent programmer by choosing me and I will be honored to complete another task-perfectly.
In particular, I will be honored to make this project successful for a nice customer.
Thanks
Regard in
Hello! It's Umar Hunjra here. I got your request, and I'm interested in working with you. I do researches on every topic of my clients for a satisfactory delivery. Kindly contact me to discuss further on your task. I'm ready to get started right away. I always believe to be the right partner because I do tasks as if they're mine. More than 10 Hours Available per day for work 100% Response Rate 100% Delivered on Time 100% Order Completion