Write some Software

Acest proiect a fost finalizat cu succes de wangbeizou pentru 40$ USD în o zi.

Obține oferte gratuit pentru un proiect similar
Buget proiect
$10 - $30 USD
Finalizat în
1 zi
Nunăr total de oferte
Descriere proiect

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:


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.


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.

Vrei să câştigi niște bani?

  • Setează-ți bugetul și perioada de timp
  • Schițează-ți propunerea
  • Fii plătit pentru munca ta

Angajează freelanceri care au plasat oferte și la acest proiect

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online