From: chongkong AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: order of exectution Date: Thu, 11 Nov 1999 06:13:47 GMT Organization: Deja.com - Before you buy. Lines: 12 Message-ID: <80dmqr$69o$1@nnrp1.deja.com> NNTP-Posting-Host: 203.116.1.198 X-Article-Creation-Date: Thu Nov 11 06:13:47 1999 GMT X-Http-User-Agent: SpaceBison/0.01 [fu] (Win67; X; ShonenKnife) X-Http-Proxy: NetCache AT proxyc2 DOT cyberway DOT com DOT sg: Version 3.3.1P1, 1.0 x23.deja.com:80 (Squid/1.1.22) for client 203.116.1.198 X-MyDeja-Info: XMYDJUIDchongkong To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com eg. system("sort a.txt > b.txt"); fp = fopen("b.txt", "r"); would the program wait for the system() to finish before opening the file ? thanks Sent via Deja.com http://www.deja.com/ Before you buy.