Scanning a 2 dimensional array for duplicate values

This is a discussion on Scanning a 2 dimensional array for duplicate values within the C Programming forums, part of the General Programming Boards category; Hello All, I am trying to scan a 2 dimensional array to see if there are any duplicates within a ...

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    10

    Scanning a 2 dimensional array for duplicate values

    Hello All,

    I am trying to scan a 2 dimensional array to see if there are any duplicates within a row or column; i.e. the concept of a sudoku game.

    I don't know how to scan a row or column one at a time.

    Thanks in advance. (If you want me to post my code I can)

  2. #2
    Registered User
    Join Date
    May 2012
    Posts
    1,066
    Quote Originally Posted by McZiploc View Post
    (If you want me to post my code I can)
    Posting code is generally a good idea. But try to reduce it to a small example which still shows your problem.

    Bye, Andreas

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sending Values and Scanning an Array
    By xxxixpats in forum C Programming
    Replies: 7
    Last Post: 11-05-2010, 11:32 PM
  2. Replies: 7
    Last Post: 07-28-2009, 03:15 PM
  3. Replies: 1
    Last Post: 04-25-2006, 12:14 AM
  4. Eliminating duplicate values from a 20x2 array
    By desipunjabi in forum C Programming
    Replies: 2
    Last Post: 10-29-2005, 09:11 PM
  5. Duplicate values in Array
    By TONYMX3 in forum C++ Programming
    Replies: 2
    Last Post: 01-30-2002, 02:57 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21