Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!brl-adm!brl-smoke!smoke!rgenter@BBN-LABS-B.ARPA From: rgenter@BBN-LABS-B.ARPA (Rick Genter) Newsgroups: net.lang.c Subject: Re: swap() macro Message-ID: <1797@brl-smoke.ARPA> Date: Sun, 29-Jun-86 11:41:13 EDT Article-I.D.: brl-smok.1797 Posted: Sun Jun 29 11:41:13 1986 Date-Received: Mon, 30-Jun-86 05:35:30 EDT Sender: news@brl-smoke.ARPA Lines: 6 One small problem: you forgot to increment t1 and t2 inside the for loop. -------- Rick Genter BBN Laboratories Inc. (617) 497-3848 10 Moulton St. 6/512 rgenter@labs-b.bbn.COM (Internet new) Cambridge, MA 02238 rgenter@bbn-labs-b.ARPA (Internet old) linus!rgenter%BBN-LABS-B.ARPA (UUCP)