Ignore:
Timestamp:
Nov 24, 2014, 4:47:21 PM (10 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
42dcae7
Parents:
ea3eb06
Message:

roll back remove and reorder hoisted aggregate, format adjustment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/examples/vector_test.c

    rea3eb06 rd11f789  
    1212    int num;
    1313
     14    sout << "enter N elements and C-d on a separate line:\n";
    1415    for ( ;; ) {
    1516        sin >> &num;
     
    1718        append( &vec, num );
    1819    }
    19 
    2020    // write out the numbers
    2121
     
    2323//    write_all( begin( vec ), end( vec ), sout );
    2424    sout << "\n";
     25#if 0
    2526    write_reverse( begin( vec ), end( vec ), sout );
    2627    sout << "\n";
    2728
     29#endif
    2830    for ( int index = 0; index <= last( vec ); index += 1 ) {
    2931        sout << vec[ index ] << " ";
Note: See TracChangeset for help on using the changeset viewer.