Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20030424171421.5586.qmail@web10104.mail.yahoo.com> Date: Thu, 24 Apr 2003 10:14:21 -0700 (PDT) From: Suetlam Chung Subject: parse error help To: cygwin cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi guys, I am compiling the following program under cygwin\usr\bin (my OS is Win2K) but it shows that +++++++++++++++++++++++++++++++++++++++++ sample.c: In function `main': sample.c:19: parse error before "double" ++++++++++++++++++++++++++++++++++++++++++ my program is on below and my program is intend to returns a positive double prescision floating point number uniformly distrbute in the range (0,1) excluding both 0.0 and 1. +++++++++++++++++++++++++++++++++++++++++++ #include #include #include #include int main (void) { const gsl_rng_type * T; gsl_rng * r; int i, n =10; double mu = 3.0; gsl_rng_env_setup(); T = gsl_rng_default; r = gsl_rng_alloc (T); for (i=0; i