I've experianced strange problems with C++ streams when running under
Cygwin. I'm not sure whether this error relates to Cygwin or to GCC but
perhaps someone else can find out.
What happens is that the input file in not read to the end. The attached
program illustrates this (test data also included).

$ ./test
File ended after 311 bytes
File ended after 1001 bytes

The last resut if obviously the correct result.

Jacob Schultz

 <<test.cpp>>  <<test.txt>> 

test.cpp

,@###Tabletennis coded at 8 Mbps.
@
4@rOڒѿ|P,琉f
ӆ(-+fRiyMAiQ*5+<S"h&힀+&{(FH@$RVz̽,QT:8oZOasbcfG
jLR\8\k6E@5`M$
5'͠@P3տN]ZT9V,]Ӡ#9WJ2&Ao"xGуaf’(63p*KpH)'`=ș2UZ0<=

Ӽ4b4{~|Riapgb%Z\q.7Anj_:Ce)7?$chZ▅MZ2Z2

eRE
!ltix+©`M٠<"iAxi,0$#pE5B@^X:4~k{+l<},1/NDնFCdщR`2YȧӔFAѰ67
 WkbtSP
3}NoғB^hfҋ"`G:{S1|Ǩxg
$ͫa|lDz{x<nzPBx֓0s%ڝ;qŠ1=[]3O(yA'VCf2dBDŽl:UmLG7{e,T6Ʊ);iA9/}m
oNY8>D7o)6m@7BV-,(x Fzo҇dxP})ۑ$ l|ti6
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to