From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19408 invoked by alias); 9 Sep 2010 20:42:35 -0000 Received: (qmail 19395 invoked by uid 22791); 9 Sep 2010 20:42:34 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-ww0-f45.google.com (HELO mail-ww0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Sep 2010 20:42:25 +0000 Received: by wwi18 with SMTP id 18so778609wwi.2 for ; Thu, 09 Sep 2010 13:42:23 -0700 (PDT) Received: by 10.227.138.84 with SMTP id z20mr158070wbt.214.1284064939675; Thu, 09 Sep 2010 13:42:19 -0700 (PDT) Received: from [192.168.2.99] (cpc2-cmbg8-0-0-cust61.5-4.cable.virginmedia.com [82.6.108.62]) by mx.google.com with ESMTPS id i14sm1489108wbe.6.2010.09.09.13.42.17 (version=SSLv3 cipher=RC4-MD5); Thu, 09 Sep 2010 13:42:18 -0700 (PDT) Message-ID: <4C894BE5.6010900@gmail.com> Date: Thu, 09 Sep 2010 20:42:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "just when you thought it was safe to go back into c.l.c" Subject: Re: rand() was not declared in this scope, please help‏ References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List Mail-Followup-To: cygwin-talk@cygwin.com X-SW-Source: 2010-q3/txt/msg00034.txt.bz2 On 08/09/2010 18:35, eric lin wrote: > dear cygwin/gcc users: > > I compile a simple code which i copied from a book, "The Complete Reference > of C++" Fourth Edition by Herbert Schildt Ah, there's your problem! cheers, DaveK