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

Search:

Type: Posts; User: Kuj4k

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    5,472

    Re: Need help with arrays

    I think I might have figured it out. Am I just missing a () after numbers.length?



    My second question though is, is this how you build an array? I dont have any notes on it or could I find any...
  2. Replies
    2
    Views
    5,472

    Need help with arrays

    So im trying to find the min number in an array. Seems simple but I keep getting an error

    Here is my code.

    private int findMin(int numbers[]) {
    //PRE numbers.length >= 1

    ...
  3. Replies
    18
    Views
    3,317

    Re: Need Help Finishing My Code!!

    Did you ever figure it out before the end of the night?
  4. Replies
    18
    Views
    3,317

    Re: Need Help Finishing My Code!!

    Any luck yet? Ive tried multiple things getting the same result. The min & max == the same thing
  5. Replies
    18
    Views
    3,317

    Re: Need Help Finishing My Code!!

    When I run it its always coming up with the min & max with the same value. I think buildlist is returning a list of the same value depending on what you enter & not the actual list of ints in the...
  6. Replies
    18
    Views
    3,317

    Re: Need Help Finishing My Code!!

    What is suposed to be put in the delimiter text field? The problem is in the buildList some where, im still trying to figure it out..
  7. Replies
    18
    Views
    3,317

    Re: Need Help Finishing My Code!!

    One error that i found might be in findMax & findMin

    Im a little confused why you have the i++ in those methods

    I dont believe you need the i++.
    list.next looks at the int then automatically...
  8. Replies
    1
    Views
    5,010

    SimpleList Question

    Im having trouble figuring out list, I have a question regarding the following to lines

    private SimpleList<String> merge (SimpleList<String> x, SimpleList<String> y)


    private...
Results 1 to 8 of 9





Click Here to Expand Forum to Full Width

Featured