Your task: Consider a grid of characters, of size 30 characters wide and 30 characters high. The default character in each cell of the grid is ‘0’ (zero). You must develop a C++ project to read in the grid from a file and display the grid to the screen. Your C++ project then must find the non-zero cells in the grid, and the (row,column) location of each non-zero cell. The non-zero characters and their locations must be written to the screen. You should allow for up to 10 non-zero cells. You must have at least two classes in the project, one containing the attributes and methods for a grid, and one containing the attributes and methods for a non-zero cell. The main program will act as a controller to invoke methods in each class. The class diagram in figure 1 shows a sample design for the project. Figure 2 shows a sample grid.

Habilidades: Programação C++

Veja mais: character figure, assignment sample, character controller, find cell location, java program display file content gui, program swing display file format, design assignment class, class assignment, gui program java open file display, java program open display content text file, sample assignment project, Written assignment , cell location display, sample project grid, assignment task, assignment diagram, sample grid, diagram assignment, character design sample, browse file php read file php free example, program creates php file, program compare csv file, program reads text file, simple program search txt file, program sort excel file

Acerca do Empregador:
( 20 comentários ) Muscat, Oman

ID do Projeto: #5102692

1 freelancer está oferecendo em média $50 para esse trabalho


Hired by the Employer

$50 USD in 2 dias
(167 Comentários)