Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ScrewSpurrier

  1. ScrewSpurrier

    array position

    Why does it edit my braces when I post?
  2. ScrewSpurrier

    array position

    cin>>array[i];
  3. ScrewSpurrier

    array position

    got it cin>>array [i];
  4. ScrewSpurrier

    array position

    oops.. To this.. ------------------------------------------ position = 0; for( int j = 0; j < size; j++ ) { if( array[j] < array[position] ) position = j; } ------------------------------------------
  5. ScrewSpurrier

    array position

    Alright I have now changed my loop to this which I think will solve my problem but I am getting an illiegal structure error on my cin>>; Any suggestions?
  6. ScrewSpurrier

    array position

    I am trying to get cout the array value of the smallest value in the array. I have come up with the code below but I always get the awnser 0. I am not sure why as I think my postion should increment by one if smallest number is not found since it is in the loop. Any help would be greatly...
  7. ScrewSpurrier

    Smallest array position

    I am trying to get cout the array value of the smallest value in the array. I have come up with the code below but I always get the awnser 0. I am not sure why as I think my postion should increment by one if smallest number is not found since it is in the loop. Any help would be greatly...

Part and Inventory Search

Back
Top