: Tzahi Fadida; Haifa Linux club
Subject: RE: [Haifux] c with a spoon and pointer arithmetic
The question was: what is the exact type of error created?
Orna.
On Wed, 9 Mar 2005, Ido Barnea wrote:
Date: Wed, 9 Mar 2005 09:36:23 +0200
From: Ido Barnea [EMAIL PROTECTED]
To: Tzahi Fadida [EMAIL
-
From: Haifux - Haifa Linux Club
[mailto:[EMAIL PROTECTED] Behalf Of Tzahi Fadida
Sent: Wednesday, March 09, 2005 2:49 AM
To: 'Orna Agmon'
Cc: haifux@haifux.org
Subject: [Haifux] c with a spoon and pointer arithmetic
As we talked about in the c with a spoon lecture, I tried
See notes inside.
Tzahi Fadida wrote:
As we talked about in the c with a spoon lecture, I tried the
pointer arithmetic and then free and at least for me it didn't
work.
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
[EMAIL PROTECTED]:~]$ gcc nis2.c
make nis2 quite easier no?
[EMAIL
As we talked about in the c with a spoon lecture, I tried the
pointer arithmetic and then free and at least for me it didn't
work.
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
[EMAIL PROTECTED]:~]$ gcc nis2.c
[EMAIL PROTECTED]:~]$ ./a.out
char y[0] a
char y[1] b
char y[2] c
char
[mailto:[EMAIL PROTECTED] Behalf Of Tzahi Fadida
Sent: Wednesday, March 09, 2005 2:49 AM
To: 'Orna Agmon'
Cc: haifux@haifux.org
Subject: [Haifux] c with a spoon and pointer arithmetic
As we talked about in the c with a spoon lecture, I tried the
pointer arithmetic and then free and at least