Changeset b3c7963 for src/tests/io.c
- Timestamp:
- Sep 12, 2017, 5:55:31 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 4639b0d
- Parents:
- a506df4 (diff), a46478a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/io.c
ra506df4 rb3c7963 10 10 // Created On : Wed Mar 2 16:56:02 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Aug 23 21:27:50201713 // Update Count : 7912 // Last Modified On : Mon Sep 11 08:53:41 2017 13 // Update Count : 81 14 14 // 15 15 … … 18 18 int main() { 19 19 char c; // basic types 20 signed char sc; 21 unsigned char usc; 20 22 short int si; 21 23 unsigned short int usi; … … 89 91 90 92 sout | "input bacis types" | endl; 91 &in | c 93 &in | c | sc | usc // character 92 94 | si | usi | i | ui | li | uli | lli | ulli // integral 93 95 | f | d | ld // floating point … … 97 99 98 100 sout | "output basic types" | endl; 99 sout | c | ' ' | endl// character101 sout | c | ' ' | sc | ' ' | usc | endl // character 100 102 | si | usi | i | ui | li | uli | lli | ulli | endl // integral 101 103 | f | d | ld | endl // floating point
Note: See TracChangeset
for help on using the changeset viewer.