<html>
<head>
</head>
<body>
I want &nbsp;to display &nbsp;a[i] ....... a[middle] on one line then a[middle +1]
...... a[i-1] on the next.<br>
<br>
<br>
In other words, a[i] to the middle of the array then the next element from
the middle to the last element displayed on a seperate line.<br>
<br>
Thanks<br>
Ezra Taylor<br>
<br>
Mark Phillips wrote:<br>
<blockquote type="cite" cite="mid:3C71A502.D76745B3@austrics.com.au">
  <pre wrap="">Ezra Taylor wrote:<br></pre>
  <blockquote type="cite">
    <pre wrap="">Hello all:<br>                     I'm new to C++, if this question is to infantile for<br>this list; lash me with kindness.<br><br>Now, I want to take an array with x elements and separate(print) them<br>into smallest to highest elements.  The array is already sorted.  Please<br>use novice C++ explanations.<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>If I understand correctly what you want to do, it would be something<br>like this:<br><br>int const x=100;<br>int myArray[x];<br><br>for (int i=0; i&lt;x; ++i)<br>  cout&lt;&lt;"myArray["&lt;&lt;i&lt;&lt;"] = "&lt;&lt;myArray[i]&lt;&lt;endl;<br><br>Is that what you wanted to do?<br><br>Cheers,<br><br>Mark.<br>_______________________________________________<br>This is the Linux C++ Programming List<br>: <a class="moz-txt-link-freetext" href="http://lists.linux.org.au/listinfo/tuxcpprogramming">http://lists.linux.org.au/listinfo/tuxcpprogramming</a> List<br><br><br></pre>
    </blockquote>
    <br>
    </body>
    </html>