HW3 - CSCI-1100 Computer Science I Rensselaer Polytechnic...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI-1100 Computer Science I Rensselaer Polytechnic Institute Fall, 2009 Programming Assignment 3 A university needs to keep know the grade point average of each student and class. You are to write a program that reads in a list of class grades. The table below shows some class and student data. Name Class Grade Martin Jones Database Fundamentals A Susan Smith CS 1 C Arthur White CS 1 B Martin Jones CS 1 C Michael Brown Database Fundamentals C Jane Doe Networking B There is a test file on the LMS site. The test file has a CSV (Comma Separated Value) format. The first line of the file contains header information that must be ignored in the processing (to see the format open it with wordpad or notepad). You are to process the data as follows 1. You are to create a struct for the data and you are to read in all of the items in the file into a vector of these structs. Print out the number of data records found (not including the title line). 2.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

HW3 - CSCI-1100 Computer Science I Rensselaer Polytechnic...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online