Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,153,196 members, 7,818,655 topics. Date: Sunday, 05 May 2024 at 08:56 PM |
Nairaland Forum / Science/Technology / Programming / Student Needs Help (866 Views)
An IT Student Needs Your Help / A First Time Programmer Needs Help In Python / A Student Needs Your Advice.PLEASE! NAIRALANDERS (2) (3) (4)
(1) (Reply)
Student Needs Help by kettjess: 7:09pm On Mar 26, 2009 |
Two Dimensional Array Class: Create a two-dimensional array class of characters called Array2d . Your Array2d should have functions that do the following: initialize the contents of the array by setting all values to '.' (constructor) return the value of any individual cell (char getValue(int, int); the parameters are the cell coordinates) input a value into an individual cell ( void setValue(int, int, char); the parameters are the cell coordinates and the value to be input into the cell) output the contents of each cell in the array in order (void display() copies one 2-d array to another (void copy(Array2d) reset all the values of the array to '.' (void reset(). Main Program: Implement a simple program to demonstrate how your class works and do the following: Declare two two-dimentional arrays Create a menu that allows the user to do any of the following (you must use a case (switch) statement for this: output the contents of the arrays - let the user decide which one read in cell coordinates from the file that I will give you read in cell coordinates from the keyboard enter x and y cell coordinates and return the value in the cell. enter x and y cell coordinates and enter a value to put in the cell copy one array to the other Other Specifications: Create a Directory call ArrayADT to hold your files for this assignment The class should be in a separate file called Array2d.cs. The main program should be in a file called main.cs . Dimensions such as the size of the array should be declared as constants Put your name and a short description of the project or class at the top of each file. Zip the whole project and turn in the zip file. You may write a console application or a windows application |
Re: Student Needs Help by javaprince(m): 4:11pm On Apr 08, 2009 |
@poster An assignment is an assignment so take time to study them and actually solve it. If you encounter any problems along the line then you can now seek help of expeienced programmers. |
Re: Student Needs Help by lekside44(m): 10:01pm On Jun 05, 2009 |
need somebody who is good in active x technology |
(1) (Reply)
Mentor And Not A Teacher / Help with AI / The Best IDE
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9 |