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

Search:

Type: Posts; User: rocketjumper

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,047

    Re: Sorting problems

    I mean:


    for(j=0;j<len-i-1;j++)
  2. Replies
    5
    Views
    1,047

    Re: Sorting problems

    Thanks Paul! That makes sense now! Just modify the inner for loop as


    for(j=0;j<len-i;j++)

    will solve the problem! Thanks for explaining this to me
  3. Replies
    5
    Views
    1,047

    Re: Sorting problems

    Thanks Kurt! Can you be more specific?
  4. Replies
    5
    Views
    1,047

    Sorting problems

    HI I just started learning c++. Below is the bubble_sorting program I wrote. Complied no error under eclipse(Ubuntu). But the result is not right.

    What is happening is, no matter what input...
Results 1 to 4 of 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center