En curso

Write some Software

Write [url removed, login to view] to track your own college course history and plans. Write it as a menu-driven console program that has these user options:

MENU

A Add a course

E rEmove a course

S Sort courses

L List courses

Q Quit

...your choice:

For each course, your program should track at least the name of the course (like Comsc-165), your grade received (or some other symbol for in-progress or planned), the year taken (or to be taken), and the number of units (whole number or floating point, your choice). You may add as many other attributes as you wish.

Requirements

Use a singly-linked list based "queue" of struct-based nodes with C++ string attribute(s).

Convert all input strings to uppercase.

Include one sorting option, first by year (hi-to-lo), then course (A-Z) as a "tie breaker".

Format and align your output as a nicely-spaced table of no more than 72 characters wide, with one course per line and no skipped lines between courses. Do include column headings.

Include serialization to a text file named [url removed, login to view]

Do not include editing options.

You decide whether to include sequence numbers for listing and removing courses, or to use matching of the course name by its name.

HINT: Here's the logic for "tie breaking" in nested for-loop sorting of nodes:

// without tie-breaking, lo-to-hi

if (q->firstAttribute < p->firstAttribute) swap

// with tie-breaking, lo-to-hi

if (q->firstAttribute < p->firstAttribute) swap

if (q->firstAttribute > p->firstAttribute) continue

if (q->secondAttribute < p->secondAttribute) swap

Of course, reverse p and q for hi-to-lo sorting.

Habilidades: Programación en C++

Ver más: automatic format php table, save output txt format, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write technical manual

Información del empleador:
( 4 comentarios ) Antioch, California, United States

ID de proyecto: #12142296

Adjudicado a:

wangbeizou

Hello. Employer. I have read and understood the project. I'm an Expert in Data Structures and Algorithms. And I know well ; Java ,C/C++, Python ,PHP. I'm interested this project. So, firstly I want to discuss Más

$40 USD en 1 día
(25 comentarios)
4.5

2 los freelancers están ofertando un promedio de $35 para este trabajo.

DemonDeveloper

We are team of excellent developers. We have 2 year experience related to your project field. We can do your project and solve your all problems according to your requirements. We have read your description for project Más

$30 USD en 1 día
(7 comentarios)
3.0
$86 USD en 1 día
(1 comentario)
1.1
Topfreelancer4

Feel fee to contact me for.Shoot me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the clients.Make payment only after the work done.Thank yo Más

$30 USD en 1 día
(0 comentarios)
0.0