Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Getting back into C programming
- Date: Tue, 5 Dec 2006 11:17:21 +0900
- From: Al Hoang <hoanga@example.com>
- Subject: Re: [tlug] Getting back into C programming
- References: <1165274600.4215.25.camel@example.com> <20061205020244.GA24510@example.com>
- User-agent: Mutt/1.5.12-2006-07-14
On Tue, Dec 05, 2006 at 11:02:44AM +0900, Andrew Hamilton wrote: > On Mon, Dec 04, 2006 at 05:23:20PM -0600, Stuart Luppescu wrote: > > that I cribbed from Numerical Recipes. The definition (? first line of > > the function) looks like this: > > > > float ran0(int &idum) > > the declaration like this: > > > > float ran0(int &); > > Are you sure you don't mean (int* idum)? > > - awh Depends if he's using C++ or C semantics in this case. Josh's suggestion for g++ should fix up the C++ stuff. I guess if Stuart could post the code somewhere (if that's possible) so it's easier to see this function in context I wouldn't mind taking a shot and trying to get it to compile. Getting it to work I'll leave up to him :-) Alain
- References:
- [tlug] Getting back into C programming
- From: Stuart Luppescu
- Re: [tlug] Getting back into C programming
- From: Andrew Hamilton
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Getting back into C programming
- Next by Date: Re: [tlug] RE: Email address munging in the TLUG archives
- Previous by thread: Re: [tlug] Getting back into C programming
- Next by thread: Re: [tlug] Getting back into C programming
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links