Changes in src/tests/io.c [a6151ba:cb91437]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/io.c
ra6151ba rcb91437 10 10 // Created On : Wed Mar 2 16:56:02 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 5 18:29:23 201613 // Update Count : 3112 // Last Modified On : Tue Mar 21 22:36:06 2017 13 // Update Count : 48 14 14 // 15 15 … … 62 62 63 63 sepSet( sout, ", $" ); // change separator, maximum of 15 characters 64 sout | f | d | ld | endl // floating point without separator65 | fc | dc | ldc | endl // complex without separator64 sout | f | d | ld | endl 65 | fc | dc | ldc | endl 66 66 | s1 | s2 | endl; 67 67 sout | endl; … … 74 74 | "v{" | 27 75 75 | "$" | 27 76 | "=" | 27 76 77 | "£" | 27 77 78 | "¥" | 27 … … 87 88 | 25 | "!" 88 89 | 25 | "?" 90 | 25 | "%" 91 | 25 | "¢" 92 | 25 | "»" 89 93 | 25 | ")" 90 94 | 25 | "]" 91 95 | 25 | "}" 92 | 25 | "%"93 | 25 | "¢"94 | 25 | "»"95 96 | endl 96 97 // opening-closing delimiters … … 105 106 | 25 | "\v" | 27 106 107 | endl; 108 109 [int, int, const char *, double] t = { 3, 4, "a", 7.2 }; 110 sout | [ 3, 4, "a", 7.2 ] | endl; 111 sout | t | endl; 112 sepSetTuple( sout, " " ); 113 sout | t | endl; 114 sout | sepOn | t | sepDisable | t | sepEnable | t | endl; 115 sepSet( sout, "^" ); 116 sepSetTuple( sout, "-" ); 117 sout | t | 3 | 4 | t | endl; 107 118 } 108 119
Note: See TracChangeset
for help on using the changeset viewer.