Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #42825 > unrolled thread

dereferencing problem

Started by"Bill Cunningham" <nospam@nspam.invalid>
First post2014-04-12 18:13 -0400
Last post2014-04-13 11:15 +1200
Articles 7 on this page of 47 — 12 participants

Back to article view | Back to comp.lang.c


Contents

  dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 18:13 -0400
    Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 18:36 -0400
      Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 18:56 -0400
        Re: dereferencing problem glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-04-12 23:16 +0000
          Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 19:52 -0400
          Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 19:57 -0400
            Re: dereferencing problem Barry Schwarz <schwarzb@dqel.com> - 2014-04-13 01:00 -0700
          Re: dereferencing problem Les Cargill <lcargill99@comcast.com> - 2014-04-14 01:10 -0500
            Re: dereferencing problem glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-04-14 06:50 +0000
              Re: dereferencing problem Les Cargill <lcargill99@comcast.com> - 2014-04-14 07:42 -0500
              Re: dereferencing problem "Charles Richmond" <numerist@aquaporin4.com> - 2014-04-14 14:36 -0500
                Re: dereferencing problem glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-04-14 20:10 +0000
      Re: dereferencing problem Barry Schwarz <schwarzb@dqel.com> - 2014-04-12 16:50 -0700
        Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 20:12 -0400
          Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 20:30 -0400
            Re: dereferencing problem Richard Damon <Richard@Damon-Family.org> - 2014-04-12 20:39 -0400
              Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 21:01 -0400
                Re: dereferencing problem Ian Collins <ian-news@hotmail.com> - 2014-04-13 13:02 +1200
            Re: dereferencing problem Ian Collins <ian-news@hotmail.com> - 2014-04-13 12:53 +1200
            Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 20:58 -0400
              Re: dereferencing problem Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2014-04-12 21:04 -0400
            Re: dereferencing problem Barry Schwarz <schwarzb@dqel.com> - 2014-04-13 01:13 -0700
              Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-13 12:54 -0400
                Re: dereferencing problem Barry Schwarz <schwarzb@dqel.com> - 2014-04-13 14:14 -0700
          Re: dereferencing problem Barry Schwarz <schwarzb@dqel.com> - 2014-04-13 01:12 -0700
            Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-13 12:57 -0400
              Re: dereferencing problem Barry Schwarz <schwarzb@dqel.com> - 2014-04-13 14:22 -0700
              Re: dereferencing problem glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-04-13 22:18 +0000
      Re: dereferencing problem Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2014-04-12 21:02 -0400
        Re: dereferencing problem Ian Collins <ian-news@hotmail.com> - 2014-04-13 13:03 +1200
          Re: dereferencing problem Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2014-04-12 21:07 -0400
        Re: dereferencing problem glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-04-13 01:18 +0000
          Re: dereferencing problem Ian Collins <ian-news@hotmail.com> - 2014-04-13 13:19 +1200
        Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-12 21:25 -0400
          Re: dereferencing problem Ian Collins <ian-news@hotmail.com> - 2014-04-13 13:30 +1200
          Re: dereferencing problem Barry Schwarz <schwarzb@dqel.com> - 2014-04-13 01:18 -0700
            Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-13 12:50 -0400
              Re: dereferencing problem Barry Schwarz <schwarzb@dqel.com> - 2014-04-13 14:24 -0700
                Re: dereferencing problem "Osmium" <r124c4u102@comcast.net> - 2014-04-13 18:48 -0500
                Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-14 14:46 -0400
                  Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-14 15:58 -0400
                    Re: dereferencing problem "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-14 16:08 -0400
          Re: dereferencing problem Herbert Rosenau <os2guy@pc-rosenau.de> - 2014-05-03 14:19 +0200
            Re: dereferencing problem "Bill Cunningaham" <nospam@nspam.invalid> - 2014-05-03 11:29 -0400
              Re: dereferencing problem "Bill Cunningaham" <nospam@nspam.invalid> - 2014-05-03 11:42 -0400
            Re: dereferencing problem Richard <rgrdev_@gmail.com> - 2014-05-03 21:15 +0200
    Re: dereferencing problem Ian Collins <ian-news@hotmail.com> - 2014-04-13 11:15 +1200

Page 3 of 3 — ← Prev page 1 2 [3]


#42909

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-04-14 15:58 -0400
Message-ID<lihekf$o9u$1@dont-email.me>
In reply to#42904
Bill Cunningham wrote:
> Barry Schwarz wrote:
>
>> Nowhere in the code you posted was memset used.  I have no idea why
>> you introduced it in two different messages as a possible substitute
>> for either free or malloc
>
> http://linux.die.net/man/3/getaddrinfo
>
> Not seeing this or not knowing about it now is lazy.

Especially after I mentioned in this thread the man page example for 
getaddrinfo used memset.

[toc] | [prev] | [next] | [standalone]


#42910

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-04-14 16:08 -0400
Message-ID<lihf6t$ss5$1@dont-email.me>
In reply to#42909
Bill Cunningham wrote:

> Especially after I mentioned in this thread the man page example for
> getaddrinfo used memset.

Ok maybe I didn't mention the getaddrinfo man page. I thought I did. My 
apologizes.

[toc] | [prev] | [next] | [standalone]


#43961

FromHerbert Rosenau <os2guy@pc-rosenau.de>
Date2014-05-03 14:19 +0200
Message-ID<lk2mtb$a5c$1@online.de>
In reply to#42852
Am 13.04.2014 03:25, schrieb Bill Cunningham:
> Lew Pitcher wrote:
>
>> But, you never actually populate pa with an address. So all of these
>> attempts to put data into objects pointed to by pa will result in
>> errors, because pa *doesn't point at anything*.
> [snip]
>
> Ok so how exactly am I going to correct this? Using memset or malloc ? Or
> using that ampersand? I understand what's wrong, but I need to know how to
> correct it.

More than 5 years ago we ere trying you to teach you the aspects of 
ponters but you have learned nothing abount.

Now the time is comed for you to see that you are always unable to learn 
programming anyway. Give up any try now. It is hopeless for you.


-- 
Tschau/Bye
	Herbert

-------------------------------------------------------------------
                Member 53 of Team OS/2 Germany
FIDONET: 2:2476/493  OS2Net: 81:497/830   MxBBSNet: 256:4960/345

Visit my Homepages:              http://www.sqed.de/
http://www.pc-rosenau.de/
http://www.dv-rosenau.de/
http://pc-rosenau2.profiseller.de

OS/2 is the more effective way to utilize your computer.

[toc] | [prev] | [next] | [standalone]


#43966

From"Bill Cunningaham" <nospam@nspam.invalid>
Date2014-05-03 11:29 -0400
Message-ID<lk321h$htk$1@dont-email.me>
In reply to#43961
"Herbert Rosenau" <os2guy@pc-rosenau.de> wrote in message 
news:lk2mtb$a5c$1@online.de...

> More than 5 years ago we ere trying you to teach you the aspects of 
> ponters but you have learned nothing abount.
>
> Now the time is comed for you to see that you are always unable to learn 
> programming anyway. Give up any try now. It is hopeless for you.

    You know they say "If at first you don't succeed try try again." Don't 
be lilly livered. This might take 20 years. A lifetime. I really don't care. 
I have my goal. I don't know the meaning of the word "hopeless". Don't tell 
me I haven't learned anything. I can't and don't need to demonstrate to you 
that I have. I know I have. I know the world's coming to an end blah blah. 
Fuck if I gave up now. All would be in vain. I have gave up on kandr2 
though. Just not the right book. Now I don't expect to become a professional 
computer programmer no. That I know I can't do. But I can learn to work with 
a few APIs.


[toc] | [prev] | [next] | [standalone]


#43968

From"Bill Cunningaham" <nospam@nspam.invalid>
Date2014-05-03 11:42 -0400
Message-ID<lk32op$n4e$1@dont-email.me>
In reply to#43966
"Bill Cunningaham" <nospam@nspam.invalid> wrote in message 
news:lk321h$htk$1@dont-email.me...
>
> "Herbert Rosenau" <os2guy@pc-rosenau.de> wrote in message 
> news:lk2mtb$a5c$1@online.de...
>
>> More than 5 years ago we ere trying you to teach you the aspects of 
>> ponters but you have learned nothing abount.

    Don't try to teach. You just lend a hand you'll stress yourself out your 
patience is a nanometer long.

>> Now the time is comed for you to see that you are always unable to learn 
>> programming anyway. Give up any try now. It is hopeless for you.

    That's cumed. Not comed.

>    You know they say "If at first you don't succeed try try again." Don't 
> be lilly livered. This might take 20 years. A lifetime. I really don't 
> care. I have my goal. I don't know the meaning of the word "hopeless". 
> Don't tell me I haven't learned anything. I can't and don't need to 
> demonstrate to you that I have. I know I have. I know the world's coming 
> to an end blah blah. Fuck if I gave up now. All would be in vain. I have 
> gave up on kandr2 though. Just not the right book. Now I don't expect to 
> become a professional computer programmer no. That I know I can't do. But 
> I can learn to work with a few APIs.
>
>
> 

[toc] | [prev] | [next] | [standalone]


#43973

FromRichard <rgrdev_@gmail.com>
Date2014-05-03 21:15 +0200
Message-ID<87ppjuhdx6.fsf@gmail.com>
In reply to#43961
Herbert Rosenau <os2guy@pc-rosenau.de> writes:

> Am 13.04.2014 03:25, schrieb Bill Cunningham:
>> Lew Pitcher wrote:
>>
>>> But, you never actually populate pa with an address. So all of these
>>> attempts to put data into objects pointed to by pa will result in
>>> errors, because pa *doesn't point at anything*.
>> [snip]
>>
>> Ok so how exactly am I going to correct this? Using memset or malloc ? Or
>> using that ampersand? I understand what's wrong, but I need to know how to
>> correct it.
>
> More than 5 years ago we ere trying you to teach you the aspects of ponters but
> you have learned nothing abount.
>

Tell me are you as stupid and blind to obvious leg pulling in the real
world? "We" have not been trying to teach Bill for years. Only idiots
who dont realise they are being trolled. It *really* is that
clear. There is *no* room for doubt.

-- 
"Avoid hyperbole at all costs, its the most destructive argument on
the planet" - Mark McIntyre in comp.lang.c

[toc] | [prev] | [next] | [standalone]


#42830

FromIan Collins <ian-news@hotmail.com>
Date2014-04-13 11:15 +1200
Message-ID<bqtvpbFb55cU6@mid.individual.net>
In reply to#42825
Bill Cunningham wrote:
>      My compiler is complaining about line 7 I am pretty sure and is saying
> something about dereferencing.

Pretty sure?  Can't you read what it actually says?

-- 
Ian Collins

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.lang.c


csiph-web