Question classes vs. arrays of struct 

Forum: Com Sci 221, U Chicago, Autumn 2001, Old Classwork
Re: News Assignment #5, due 29 October (Mike O'Donnell)
Date: 2001, Oct 28
From: Roni Choudhury roni

My question deals with the preferred style of implementation. I just got through debugging my C++ solution to the first part of the homework (the non parallel arrays method), thinking that this is the sort of problem that might be thought of as ideal for C++. However, my solution is a bit more involved than using arrays of structs. I believe it still reflects the idea of [0..99]->(AxB) as opposed to [0..99]->A x [0..99]->B, and I will be able to discuss/explain the difference, but I was wondering whether, given everything I've said, using C++ classes is ok.

roni


Messages

1. Feedback C++ classes OK, but not directly relevant by Mike O'Donnell, 2001, Oct 28

to: "classes vs. arrays of struct"