Solved-Lab 2 -Solution

$30.00 $19.00

SPECIFICATIONS I have provided an unchangeable cscd340Lab2.c file. I have provided fileUtil.h genericArray.h stock.h myUtils.h, myUtils.c You only need to write following: fileUtil.c countRecords openInputFile_Prompt stock.c buildStock printStock cleanStock compareSymbols compareNames comparePrices Think of each one of these as a Comparator compare method from Java genericArray.c fillArray This is different from what we wrote in…

You’ll get a: . zip file solution

 

 
Categorys:
Tags:

Description

5/5 – (2 votes)

SPECIFICATIONS

  • I have provided an unchangeable cscd340Lab2.c file.

  • I have provided

  1. fileUtil.h

    1. genericArray.h

    1. stock.h

    1. myUtils.h, myUtils.c

  • You only need to write following:

    1. fileUtil.c

      • countRecords

      • openInputFile_Prompt

  1. stock.c

    • buildStock

    • printStock

    • cleanStock

    • compareSymbols

    • compareNames

    • comparePrices

      • Think of each one of these as a Comparator compare method from Java

  1. genericArray.c

    • fillArray

      • This is different from what we wrote in class. The parameters are different so please read the documentation.

    • sortArray

      • Use the selectionSort to sort the array

TO TURN IN

Submit a zip file

  • Lab2 folder – containing all C files and H files

  • My Makefile

  • Your input files – meaning mine and at least one other that you made (not a copy and paste of mine)

  • A valgrind run named cscd340lab2val.txt

Your zip will be named your last name first letter of your first name lab2.zip (Example: steinerslab2.zip)

NOTE: A simple output run is included as simpleOutput.txt