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


Groups > comp.programming > #5116 > unrolled thread

linked lists

Started by"Bill Cunningham" <nospam@nspam.invalid>
First post2015-01-12 15:18 -0500
Last post2015-01-12 15:20 -0500
Articles 2 — 1 participant

Back to article view | Back to comp.programming


Contents

  linked lists "Bill Cunningham" <nospam@nspam.invalid> - 2015-01-12 15:18 -0500
    Re: linked lists "Bill Cunningham" <nospam@nspam.invalid> - 2015-01-12 15:20 -0500

#5116 — linked lists

From"Bill Cunningham" <nospam@nspam.invalid>
Date2015-01-12 15:18 -0500
Subjectlinked lists
Message-ID<m91a6f$413$1@speranza.aioe.org>
    I have to even bring this up. But I need to learn it. Linked lists have
always given me hell. It's the algorithmic part. Iteration especially. I am
using C. someone gave me an example and the syntax was confusing to me
concernign the interations using  the for keyword. The function I am using 
is pcap_findalldevs() found here:

http://www.tcpdump.org/manpages/pcap_findalldevs.3pcap.html

The next element of the struct pcap_t type points to the next page. Is there 
a simple example how to use for to go to the next page and back if needed. A 
simple example.

Bill



[toc] | [next] | [standalone]


#5117

From"Bill Cunningham" <nospam@nspam.invalid>
Date2015-01-12 15:20 -0500
Message-ID<m91aao$4ii$1@speranza.aioe.org>
In reply to#5116
"Bill Cunningham" <nospam@nspam.invalid> wrote in message 
news:m91a6f$413$1@speranza.aioe.org...
>    I have to even bring this up. But I need to learn it. Linked lists have
> always given me hell. It's the algorithmic part. Iteration especially. I 
> am
> using C. someone gave me an example and the syntax was confusing to me
> concernign the interations using  the for keyword. The function I am using 
> is pcap_findalldevs() found here:
>
> http://www.tcpdump.org/manpages/pcap_findalldevs.3pcap.html
>
> The next element of the struct pcap_t type points to the next page. Is 
> there a simple example how to use for to go to the next page and back if 
> needed. A simple example.
>
> Bill

    I guess that is "struct pcap_if_t" type.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web