473,326 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

library with abstract data types?

ed
Hey all. I use Perl and PHP on a daily regular basis.
So I'm used to writing code with a basic syntax that's very similar to
C.
I'd like to get comfortable enough with C itself though, so I could
use it if I needed to.

I was wondering if you guys can recommend any libraries that offer
abstract data types. A library that will help make the language a
little safer
and easier to use for a C novice.
I'd especially like to find one that's object based.

I've been looking at this one:
http://www.softwaresensation.com/memsl/memslc.html

It looks pretty good to me, but I really wouldn't know since I'm not
a C programmer(yet).

Any help appreciated.
tia,
--ed

Nov 13 '05 #1
3 1869
ed wrote:
I've been looking at this [library]:
<spam URL snipped>

It looks pretty good to me, but I really wouldn't know since I'm not
a C programmer(yet).


Two and a half megabytes zipped, on a dialup. Ouch.

I was going to give you the lowdown on some of the code's problems, but I'm
not allowed:

** This file contains valuable trade secrets and proprietary
** assets of Windbase Software Inc. Embodying substantial
** creative efforts and confidential information. Unauthorized
** use, copying, decompiling, translating, disclosure or
** transfer, of any kind, is strictly prohibited.

The first sentence is nonsense, of course; the file /can't/ contain valuable
trade secrets if they let anyone and everyone download the thing from their
web site. But the bottom line appears to be that they don't want me to use
their stuff.

I'm not allowed to translate it, so compilation (which is translation) is
out. Just as well, since it hasn't a hope in hell of building on my system
without some serious hacking around.

Disclosure - i.e. telling you the problems - appears to be disallowed.

Even downloading it constitutes making a copy (and also transferring) so,
strictly, I shouldn't have done that either, although in my defence I
didn't actually see the notice until after I'd unzipped the software.

One thing I /can/ say is this: I see no reason to bother any further with
this library, and I would advise you to do the same if you want to learn
portable programming techniques, which is what C is all about.

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #2

"ed" <co*****************@yahoo.com> wrote in message
I was wondering if you guys can recommend any libraries that offer
abstract data types. A library that will help make the language a
little safer and easier to use for a C novice.
I'd especially like to find one that's object based.

You'll have your hands full with the standard library if you're a C novice.

If you want to go the object route I would advise learning C++ first. Not
that I've anything against C object libraries, but it is almost guaranteed
that the library writers are familiar with C++, and you are therefore on the
same wavelength when using the library.

Nov 13 '05 #3
ed
Thanks for replies.

I have the book "C Primer Plus". There's some code examples of
abstract types for a list, queue, and binary tree, but I can't find
the code samples in digital format anywhere.
I guess I could type 'em out, but it would still be nice to at least a
Dictionary.
I guess I'll keep looking.
Thanks again.

--ed
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Anon Email | last post by:
Hi people, I'm learning about header files in C++. The following is code from Bartosz Milewski: // Code const int maxStack = 16; class IStack
10
by: Lord Labakudas | last post by:
Hi, I have a very simple question. Is int a predefined class in the standard C++ library. If yes, is it typedef'd as int somewhere ? I wish to know this because, I wish to create a class that...
43
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own...
12
by: Mars | last post by:
I searched and found quite many, but (nearly) all are about C++....... Any recommendation for such reference for pure C???? Thx~~~~ Mars.
6
by: Alden Pierre | last post by:
Hello, http://www.parashift.com/c++-faq-lite/virtual-functions.html#faq-20.7 As per the link above it's wise to have a virtual deconstructor when creating an abstract class. Here is when I'm...
7
by: jason | last post by:
In the microsoft starter kit Time Tracker application, the data access layer code consist of three cs files. DataAccessHelper.cs DataAcess.cs SQLDataAccessLayer.cs DataAcccessHelper appears...
3
by: jacob navia | last post by:
Abstract: Continuing the discussion about abstract data types, in this discussion group, a string collection data type is presented, patterned after the collection in C# and similar languages...
5
by: tshad | last post by:
In VS 2003, I am setting up an abstract class that is setting up classes for each datatype of VB.Net (as well as C#). I am trying to set it up so that most of the work is done in the Abstract...
20
by: tshad | last post by:
Using VS 2003, I am trying to take a class that I created to create new variable types to handle nulls and track changes to standard variable types. This is for use with database variables. This...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.