I need some help with writing the code
Microsoft PowerPoint - 20201126PFE19FinalWork [Modo de compatibilidad] Programming for Factory Engineers 26/11/2020
[email protected] 1 Programming for Factory Engineers Ángel García Beltrán Dpto. de Automática, Ing. Eléctrica y Electrónica e Informática Industrial Escuela Técnica Superior de Ingenieros Industriales Universidad Politécnica de Madrid FINAL WORK Programming for Factory Engineers Programming for Factory Engineers 26/11/2020
[email protected] 2 Purpose • Write a program in C++ to simulate a process or a machine with some kind of user interaction. • For instance: a) An Automatic Teller Machine (ATM) of a bank b) A Vending Machine for coffee, drinks, food… c) A Parking Meter d) A Scientific Calculator e) Any other one you propose – Please, send me an email ASAP with your proposal to inform about and to confirm your project objetive. Example: ATM • Partial Flow Chart Programming for Factory Engineers 26/11/2020
[email protected] 3 How to do it? 1. Set the objetive of the program to develop 2. Determine the specifications (requeriments) 3. Design the software: architecture, algorithm, flux diagram… 4. Write the source code in C++ 5. Test and debug 6. Deliver it! Program Characteristics • Program size: approx. few hundreds of lines. • Programming Elements to use: – OOP – Files – Dynamic Allocation – Standard and/or Commercial Libraries… • Key aspects to consider for qualifying: – Purpose, originality – Requirements, difficulty – Implementation, funcionality – Good use of programming elements Programming for Factory Engineers 26/11/2020
[email protected] 4 Deliveries • Deliveries (in a zip file with your name): a) The complete source code file/s with comments b) The executable file (specify OS: Windows or Linux) c) Any extra files (data files…) d) A short memory report (2 pages) about the program including at least: Project purpose, Software Requirements (specifications) and a list of Used Programming Elements. • Where to deliver: Folder in Microsoft Teams • Deadline: December 18th Peer-review Task • Peer-review activity description: a) All students must download all the deliveries, b) analize the rest of programs and c) nominate a 1st prize and a 2nd prize. Please send me an email (
[email protected]) with your reasoned analysis. Note: Auto-nomination is forbidden. • Deadline: December 21st Programming for Factory Engineers 26/11/2020
[email protected] 5 DAE2I2 – ETSII - UPM