Date: Sun, 17 Dec 2000 09:18:18 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Franck Bauquier (Defcon1)" cc: bug-g++@prep.ai.mit.edu, djgpp AT delorie DOT com Subject: Re: Cannot multiply In-Reply-To: <000401c0679d$d5101020$ce3dfac1@franck> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 16 Dec 2000, Franck Bauquier (Defcon1) wrote: > I got a program which is supposed to fill SRC with 5 "ABCDEFGHIJ" in a = > row. Then the program is gonna pick 1 letter from SRC every ten letters = > and put > it in DEST, thus DEST would be filled with "AAAAA". > Unfortunately, although it's working under Turbo C++, DJGPP refuse to = > compile > apparently because of a multiplication at the line: "src[i*10]"; Please post the exact command line you used to compile this program, and the error message(s) printed by the compiler when you compile with DJGPP.