Thread: Multidimensional Array

  1. #1

    Multidimensional Array

    I have a text file that contains data in 20x20 array format.
    I know I need to use 4 for{} loops, but I really need some help on how to do this so that I can read the entire into a 20x20 array. Also is anyone familiar with box filters? Where I have to "move" an array of 3x3 numbers over the 20x20 array to get a resultant array? I know this is a lot to ask be PLEASE HELP!

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    well what do you have so far?
    can you declare the array?
    do you know how to open and read from the file?
    why 4 loops?
    have you even thought about it?

    If you want help then show that you have at least attempted something in code.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :-

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 05-29-2009, 07:25 PM
  2. Help -- allocating memory in a multidimensional array
    By jonathan.plumb in forum C Programming
    Replies: 10
    Last Post: 05-20-2009, 11:04 PM
  3. Pointer to multidimensional array
    By ejohns85 in forum C++ Programming
    Replies: 4
    Last Post: 03-24-2009, 11:17 AM
  4. Type and nontype parameters w/overloading
    By Mr_LJ in forum C++ Programming
    Replies: 3
    Last Post: 01-02-2004, 01:01 AM
  5. Help with an Array
    By omalleys in forum C Programming
    Replies: 1
    Last Post: 07-01-2002, 08:31 AM