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


Groups > comp.programming > #2575

Re: linked list language

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From treetaxi <noreply@treetaxi.invalid>
Newsgroups comp.programming
Subject Re: linked list language
Date Sun, 02 Dec 2012 22:22:24 -0700
Organization A noiseless patient Spider
Lines 41
Message-ID <k9hcuj$6ba$1@dont-email.me> (permalink)
References <k81cle$gol$1@dont-email.me> <0.d448978e18debb49713b.20121115013001GMT.871ufvhcva.fsf@bsb.me.uk> <k81i8b$aqb$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Injection-Date Mon, 3 Dec 2012 05:22:27 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="a704359d881b64debffd1d33b01e5cda"; logging-data="6506"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wGvtNBrG+k0ZWDjt++CRuNhKuwUchWQ4="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
In-Reply-To <k81i8b$aqb$1@dont-email.me>
Cancel-Lock sha1:RXe9RM8zHEKXOvcc1DOLqaGM6Zk=
Xref csiph.com comp.programming:2575

Show key headers only | View raw


On 11/14/2012 06:58 PM, Bill Cunningham wrote:
> Ben Bacarisse wrote:
>> "Bill Cunningham" <nospam@nspam.invalid> writes:
>>
>>>     Does anyone have an opinion on whether linked lists are easier
>>> to do in C or C++?
>>
>> That's an odd question.  C++ has standard container types including a
>> list type, so in that sense it's easier in C++: there's nothing to do
>> other than use them.
> 
>     I don't know what container types or list types mean. I was going to 
> think of a second language after C and considered Perl. Whew. Too much for 
> me. C++ is probably most C like.
>     I think I frustrate alot of programmers on usenet because they're 
> professionals. I'm a hobbyist and have to learn C as I go and algorithms 
> forget it. What kind of programming can you do without them. I have to move 
> at my own pace. But I'll never become a CS student professionally. I'll look 
> up list container.
> 
> Bill
> 
> 

C++ isn't "really" a second language, as knowledge of C is usually a
prerequisite to most C++ courses.

Basically the functions and subroutines of C become 'methods' of C++
objects which which restrict access and provide a separate namespace
through encapsulation.

So it's easier to knock out a quick C subroutine, and the code is more
efficient for real-time apps, but it's easier to re-use C++ code because
of its modular design.

Although it's been used for just about anything, I consider Perl as
basically a text-handling language.  It's the best tool I know of for
doing things like stripping html code and looking for keywords.  I used
it to write a utility that automatically read the used car ads every day
and filter out the ones I would be interested in.  I'd never even try
that in C.

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

linked list language "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-14 19:23 -0500
  Re: linked list language Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-11-15 01:30 +0000
    Re: linked list language "Bill Cunningham" <billcun@suddenlink.net> - 2012-11-14 20:58 -0500
      Re: linked list language treetaxi <noreply@treetaxi.invalid> - 2012-12-02 22:22 -0700
        Re: linked list language "Aaron W.  Hsu" <arcfide@sacrideo.us> - 2012-12-03 01:53 -0500
    Re: linked list language "Bill Cunningham" <billcun@suddenlink.net> - 2012-11-14 21:06 -0500

csiph-web