From: tomw AT tsys DOT demon DOT co DOT uk (Tom Wheeley) Newsgroups: comp.os.msdos.djgpp Subject: Re: cout problem resolved - sorry... Date: Thu, 26 Dec 96 22:53:18 GMT Organization: Adventures and Diving Lines: 15 Message-ID: <851640798snz@tsys.demon.co.uk> References: Reply-To: tw104 AT york DOT ac DOT uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 23 Dec, in article jeffbis AT primenet DOT com "Jeff Bishop" wrote: > I resolved the problem using section 8.7 of the faq. BTW though, I got a 187K > exe file just printing "hello world", wow! Are you taking the piss now? Read the FAQ again, mate. :sb) please send mail to http://www.york.ac.uk/~tw104/ -- #include /* The .splitbung super .sig system! */ #include main(){FILE*f;int c[1];char s[99];puts("sig:");fgets(s,99,stdin);if(!*c=strchr(s ,'\n'))s[c=0;f=fopen(s,"r");while((c=getc(f))!=EOF)putchar(c);f&&fclose(f)