Find Jobs
Hire Freelancers

Sort Programming assignment

$10-30 USD

Đã hoàn thành
Đã đăng vào hơn 5 năm trước

$10-30 USD

Thanh toán khi bàn giao
Write a simple todo list application. This will require use of classes, objects, and possibly structs. Here are the requirements: 1. Menu-driven - upon running the program, the user should be prompted to press one of the following: 1. View all Todos in list 2. Remove a todo item from the list * if there are not any todos, the user should be prompted and sent back to the menu * choose a todo from list based on title to delete - 1. Pick up milk - 2. Drop off son at baseball 3. Add a todo item to the list * Take user input and add a todo to the list 4. Complete a todo item * similar to delete, the user is shown a list of their todo items, and upon choosing one, the item is marked Done (true) * user should be prompted accordingly 5. Quit 2. Todo item should be a class with the following private members: 1. Title - String 2. Done - Bool (true if done, false otherwise) 3. Todo class should have the following public functions: 1. Private 1. getTitle - return the todo's title 2. toggleTodo - toggle Done variable from true to false or vice-versa When first running the program, an empty todo list (array) should be created for storing todo items as they're added. When displaying todo items from the list (delete and toggle methods above), simply display their index within the list and add one (1). After a user chooses a todo to delete or toggle, use that menu-choice and subtract one (1) to find the item in the list (array). I'll get you started with some sudo code: */ // Prototype class class Todo { private: string title; bool done; public: string getTitle(); bool toggleTodo(); } //Implementations string Todo::getTitle() { return title; } bool Todo::toggleTodo() { return !done; } // Prototype functions (up to you to implement - see below) void deleteTodo(int); Todo addTodo(string, bool); int main(){} void deleteTodo(int todoIndex){} Todo addTodo(string todoTitle, bool todoDone = false){}
Mã dự án: 18357746

Về dự án

4 đề xuất
Dự án từ xa
Hoạt động 5 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
Hi there, I do C++ programming and I have strong background in OOP. I went through your requirements and this is something I can do if given the opportunity. Let me know if you are interested.
$30 USD trong 1 ngày
5,0 (599 nhận xét)
7,1
7,1
4 freelancer chào giá trung bình $30 USD cho công việc này
Avatar người dùng
Hello I have experience in programming and i can help you out with this. Ping me if you are interested to work with me.
$25 USD trong 1 ngày
5,0 (3 nhận xét)
2,2
2,2
Avatar người dùng
I can do this project. I have experience of C & C++ and Java programming for 4+ years. I can satisfy you perfectly. Please contact me and discuss in detail.
$30 USD trong 1 ngày
5,0 (1 nhận xét)
1,4
1,4
Avatar người dùng
Hello Sir/Mam I have 5+ years of experience and strong knowledge about programming languages Java C++ C C# Android MYSQL PHP G So you don’t need to worry about third party client. I am very much experienced and assure you that I’ll provide quality work. The project bid is negotiable and P.M for sample work. Thanks
$35 USD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
Allentown, United States
0,0
0
Phương thức thanh toán đã xác thực
Thành viên từ thg 12 14, 2018

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.