- Timestamp:
- Oct 5, 2023, 1:50:35 PM (15 months ago)
- Branches:
- master
- Children:
- 8cffa4f
- Parents:
- 04db9f6
- Location:
- tests/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/io/.in/manipulatorsInput.txt
r04db9f6 rbf1cbde 2 2 123456789 3 3 abc 4 abc4 cccccb 5 5 xx 6 6 abcxxx … … 8 8 aaaaaaaaxxxxxxxxaabbccbbdddwwwbbbbbbbbwwwwwwwwaaaaaaaawwwwwwww 9 9 abc 10 abc10 cccccb 11 11 xx 12 12 abcxxx -
tests/io/manipulatorsInput.cfa
r04db9f6 rbf1cbde 52 52 { 53 53 char s[] = "yyyyyyyyyyyyyyyyyyyy"; 54 const char sk [] = "abc";55 scanf( "abc " ); scanf( sk ); for ( 5 ) scanf( "%*c" );printf( "1 %s\n", s );54 const char sk_fmt[] = "%*[abc]"; 55 scanf( "abc " ); scanf( sk_fmt ); for ( 5 ) scanf( "%*c" ); printf( "1 %s\n", s ); 56 56 scanf( "%s", s ); printf( "2 %s\n", s ); 57 57 scanf( "%*s" ); printf( "3 %s\n", s );
Note: See TracChangeset
for help on using the changeset viewer.