CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: wildcat1337

Search: Search took 0.02 seconds.

  1. Re: Finding Lowest Value Of Every Column In A 2d Array

    I can display the min value, but how to display the row it is in?
  2. Re: Finding Lowest Value Of Every Column In A 2d Array

    our professor will not allow us to use linq. Part of the reason I have a hard time figuring it out as Im fairly new to programming.

    Your code also displays the lowest value of each row, I need to...
  3. Re: Finding Lowest Value Of Every Column In A 2d Array

    How could i do that without using system.linq? We are not allowed to use it.

    Also, when i tried linq, all i got was
    "1
    7
    0"

    Here is what i did:

    using System;
  4. Re: Finding Lowest Value Of Every Column In A 2d Array

    This method will display the lowest of the whole array:

    public static void findlowest(int[,] Data)
    {
    int min = Data[0, 0];
    for (int r = 0; r < 3; r++)
    {
    ...
  5. Finding Lowest Value Of Every Column In A 2d Array

    My array is such: (rows = 3, columns =7)

    1 2 3 4 5 6 7
    8 9 10 9 8 7 11
    5 4 4 2 1 0 6

    How can i make a method which displays the lowest value of every column while telling what row it is in?
Results 1 to 5 of 7





Click Here to Expand Forum to Full Width

Featured