Ignore:
Timestamp:
Dec 22, 2018, 11:19:24 PM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
bd07b15
Parents:
760235a
Message:

update iostream

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/searchsort.cfa

    r760235a r5ea5b28  
    1010// Created On       : Thu Feb  4 18:17:50 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Dec  5 08:18:42 2018
    13 // Update Count     : 106
     12// Last Modified On : Thu Dec 20 22:49:46 2018
     13// Update Count     : 108
    1414//
    1515
     
    3030                sout | iarr[i] | ", ";
    3131        } // for
    32         sout | nl;
     32        sout | nl | nl;
    3333
    3434        // ascending sort/search by changing < to >
     
    5454                sout | size - i | ':' | iarr[posn] | ", ";
    5555        } // for
    56         sout | nl;
     56        sout | nl | nl;
    5757
    5858        // descending sort/search by changing < to >
     
    8484                } // for
    8585        }
    86         sout | nl;
     86        sout | nl | nl;
    8787
    8888        double darr[size];
     
    106106                sout | size - i + 0.5 | ':' | darr[posn] | ", ";
    107107        } // for
    108         sout | nl;
     108        sout | nl | nl;
    109109
    110110        struct S { int i, j; } sarr[size];
     
    133133                sout | temp | ':' | sarr[posn] | ", ";
    134134        } // for
    135         sout | nl;
     135        sout | nl | nl;
    136136        {
    137137                int getKey( const S & s ) { return s.j; }
     
    149149                        sout | size - i + 1 | ':' | sarr[posn] | ", ";
    150150                } // for
    151                 sout | nl;
     151                sout | nl | nl;
    152152        }
    153153} // main
Note: See TracChangeset for help on using the changeset viewer.