Exactly, any local variable comes off the stack, but I was talking about
pointers :)
On Wed, Mar 30, 2016 at 3:37 PM, Steve Litt
wrote:
> On Wed, 30 Mar 2016 08:23:16 -0300
> Emiliano Marini wrote:
>
> > Edward, the only time the compiler allocates memory for data
> > automatically is when usin
+1
Besides, * and [] are interchangeable. You can define a string as an array
and use it later as a pointer:
char s[] = "hola";
char x = s[1]; // Here x = 'o'
char y = *(s+2); // Here y = 'l'
And vice versa:
char *s = "hola";
char x = s[0]; // Here x = 'h'
char y = *(s+3); // Here y
On Wed, Mar 30, 2016 at 10:40:37PM +0200, Edward Bartolo wrote:
> Hi, thanks for your help.
>
> So: [ I am recalling this from memory to test where I am ]
> a) type* pp; // declare a pointer pp
> b) *pp = RHS; // assign RHS to the data pointed to by pp
This is a bit fishy, and should be taken wi
On Thu, Mar 31, 2016 at 08:38:26AM -0300, Emiliano Marini wrote:
> +1
>
> Besides, * and [] are interchangeable. You can define a string as an array
> and use it later as a pointer:
>
> char s[] = "hola";
> char x = s[1]; // Here x = 'o'
> char y = *(s+2); // Here y = 'l'
>
> And vice vers
On Thu, Mar 31, 2016 at 08:38:26AM -0300, Emiliano Marini wrote:
> +1
>
> Besides, * and [] are interchangeable. You can define a string as an array
> and use it later as a pointer:
>
> char s[] = "hola";
> char x = s[1]; // Here x = 'o'
> char y = *(s+2); // Here y = 'l'
>
> And vice vers
Hi, thanks for taking time to reply,
KatolaZ wrote:
>> c) type **ss; // declare a pointer to pointer. System only allocates
>> space for one address
> C pointers are *always* one variable, precisely a variable large
> enough to store a memory address on the current architecture.
I think, I did n
Hi,
On 03/31/16 13:38, Emiliano Marini wrote:
Besides, * and [] are interchangeable. You can define a string as an array
and use it later as a pointer:
char s[] = "hola";
char x = s[1]; // Here x = 'o'
char y = *(s+2); // Here y = 'l'
And vice versa:
char *s = "hola";
char x = s[0];
On Thu, Mar 31, 2016 at 03:58:49PM +0200, aitor_czr wrote:
[cut]
> >On Wed, Mar 30, 2016 at 6:04 PM, Rainer Weikusat <
> >rainerweiku...@virginmedia.com> wrote:
> >
> >There's one
> >>important difference:
> >>
> >>char chars[] = "12345";
> >>
> >>cause the compiler to reserve six bytes (five cha
Edward Bartolo:
> KatolaZ wrote:
> >> c) type **ss; // declare a pointer to pointer. System only allocates
> >> space for one address
>
> > C pointers are *always* one variable, precisely a variable large
> > enough to store a memory address on the current architecture.
>
> I think, I did not und
On 03/31/16 16:07, KatolaZ wrote:
On Thu, Mar 31, 2016 at 03:58:49PM +0200, aitor_czr wrote:
[cut]
> >On Wed, Mar 30, 2016 at 6:04 PM, Rainer Weikusat <
> >rainerweiku...@virginmedia.com> wrote:
> >
> >There's one
> >>important difference:
> >>
> >>char chars[] = "12345";
> >>
> >>cause the c
On Thu, Mar 31, 2016 at 03:12:32PM +0200, Edward Bartolo wrote:
> Hi, thanks for taking time to reply,
>
> KatolaZ wrote:
> >> c) type **ss; // declare a pointer to pointer. System only allocates
> >> space for one address
>
> > C pointers are *always* one variable, precisely a variable large
> >
Where can I find a devuan 32 bit iso alpha2 or higher than the minimum
system is installed without access to the network?
if alpha4 better
Someone could provide me a link to the download if you have it built?
I want to keep trying at home where I do not have internet access.
From now thanks
=
On Thu, Mar 31, 2016 at 03:18:17PM +0100, KatolaZ wrote:
> On Thu, Mar 31, 2016 at 03:12:32PM +0200, Edward Bartolo wrote:
> > Hi, thanks for taking time to reply,
> >
> > KatolaZ wrote:
> > >> c) type **ss; // declare a pointer to pointer. System only allocates
> > >> space for one address
> >
>
On Thu, Mar 31, 2016 at 03:58:49PM +0200, aitor_czr wrote:
> Hi,
>
> On 03/31/16 13:38, Emiliano Marini wrote:
> >Besides, * and [] are interchangeable. You can define a string as an array
> >and use it later as a pointer:
> >
> >char s[] = "hola";
> >char x = s[1]; // Here x = 'o'
> >char y
Am I the only one who hasn't noticed this yet? What am I missing?
( posted in parallel at:
https://git.devuan.org/devuan-packages/sysvinit/issues/14 )
I installed the default devuan desktop package today, using the devuan
installer, and on my first boot, instead of using the graphical
installer,
On Thu, 3/31/16, Ismael L. Donis Garcia wrote:
Subject: [DNG] Download iso 32bit devuan alpha2 or higher(based installation
without network)
To: "Lista de Devuan"
Date: Thursday, March 31, 2016, 11:47 AM
Where can I find a devuan 32 bit iso
alpha2 or higher than the minimum
system is
16 matches
Mail list logo