Re: Warnings from perlvars.h

2003-08-14 Thread Nick Ing-Simmons
[EMAIL PROTECTED] writes: On Thu, Aug 07, 2003 at 04:32:22PM +0100, Nick Ing-Simmons wrote: bash-2.03$ ldd blib/arch/auto/Text/Aspell/Aspell.so libaspell.so.15 = /home/users/w/wh/whmoseley/aspell/lib/libaspell.so.15 libucb.so.1 = (file not found) [...] Fine!

Re: I need your help

2003-08-14 Thread Nick Ing-Simmons
Jane Li [EMAIL PROTECTED] writes: Dear Ms./Sir, I am working on the problem of calling C++ functions from Perl. Your clear tutorial style web page: Gluing C++ And Perl Together gave me really great help. But what I am sticking now is that I have to embed a C++ function which asks two input

Re: Safefree() an array of arrays

2003-08-14 Thread Sisyphus
- Original Message - From: Nick Ing-Simmons [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: XS [EMAIL PROTECTED] Sent: Monday, August 11, 2003 2:19 AM Subject: Re: Safefree() an array of arrays Sisyphus [EMAIL PROTECTED] writes: Hi, I'm building an n x n 2D array. I've declared the

Re: Warnings from perlvars.h

2003-08-14 Thread moseley
On Thu, Aug 07, 2003 at 04:32:22PM +0100, Nick Ing-Simmons wrote: bash-2.03$ ldd blib/arch/auto/Text/Aspell/Aspell.so libaspell.so.15 = /home/users/w/wh/whmoseley/aspell/lib/libaspell.so.15 libucb.so.1 = (file not found) [...] Fine! I'll add -L/usr/ucblib -lucb

I need your help

2003-08-14 Thread Jane Li
Dear Ms./Sir, I am working on the problem of calling C++ functions from Perl. Your clear tutorial style web page: Gluing C++ And Perl Together gave me really great help. But what I am sticking now is that I have to embed a C++ function which asks two input parameters of string class data type

Re: Safefree() an array of arrays

2003-08-14 Thread Nick Ing-Simmons
Sisyphus [EMAIL PROTECTED] writes: Hi, I'm building an n x n 2D array. I've declared the structure: int ** aoa; I've allocated the memory: Newz(100, aoa, n, int); Observation you asked for n 'int's there but you are stuffing it with n 'int *'s That should have been Newz(100, aoa, n, int

Safefree() an array of arrays

2003-08-14 Thread Sisyphus
Hi, I'm building an n x n 2D array. I've declared the structure: int ** aoa; I've allocated the memory: Newz(100, aoa, n, int); if(aoa == NULL) croak(Failed to allocate rows); for(i = 0; i n; ++i) { Newz(i, aoa[i], n, int); if(aoa[i] == NULL) croak(Failed to allocate columns); } I've