473,385 Members | 1,934 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,385 software developers and data experts.

[Q] Any unix extension to standard C library for providing set collection operations?

Hi,

I am using freeBSD.
I know std:set can be used in C++ for set colleciton .

If I use only C for developing some applicaiton on freeBSD, is there
any unix extension to standard C library or alternative library for
'set'(i.e, uniqueness) operation?

BTW, what I mean by unix extension is something like 'insque' or
'remque' which is not a part of standard C lib functions.
thanks

Mar 26 '07 #1
3 1375
mr*****@gmail.com wrote, On 26/03/07 09:18:

<snip>
If I use only C for developing some applicaiton on freeBSD, is there
any unix extension to standard C library or alternative library for
'set'(i.e, uniqueness) operation?

BTW, what I mean by unix extension is something like 'insque' or
'remque' which is not a part of standard C lib functions.
You will need to ask somewhere that unix extensions are topical such as
comp.unix.programmer. Here we only deal with standard C.
--
Flash Gordon
Mar 26 '07 #2
In article <ii************@news.flash-gordon.me.uk>,
Flash Gordon <sp**@flash-gordon.me.ukwrote:
>mr*****@gmail.com wrote, On 26/03/07 09:18:

<snip>
>If I use only C for developing some applicaiton on freeBSD, is there
any unix extension to standard C library or alternative library for
'set'(i.e, uniqueness) operation?

BTW, what I mean by unix extension is something like 'insque' or
'remque' which is not a part of standard C lib functions.

You will need to ask somewhere that unix extensions are topical such as
comp.unix.programmer. Here we only deal with standard C.
(IOW)

Off topic. Not portable. Cant discuss it here. Blah, blah, blah.

Useful clc-related links:

http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language

Mar 26 '07 #3
On Mar 26, 1:18 am, mr.h...@gmail.com wrote:
Hi,

I am using freeBSD.
I know std:set can be used in C++ for set colleciton .

If I use only C for developing some applicaiton on freeBSD, is there
any unix extension to standard C library or alternative library for
'set'(i.e, uniqueness) operation?

BTW, what I mean by unix extension is something like 'insque' or
'remque' which is not a part of standard C lib functions.
You could probably get the source from the OpenBSD versions.
BTW, "I am searching for software 'X' is not really topical.

If you want to talk about programming techniques, probably
news:comp.programming is a better place than here.

It sounds to me like you just want a dictionary data structure. There
are lots of those available.

Mar 27 '07 #4

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

Similar topics

8
by: Raymond Hettinger | last post by:
Comments are invited on the following proposed PEP. Raymond Hettinger ------------------------------------------------------- PEP: 329
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...
5
by: markus | last post by:
Hi, I have a question that deals with the standard c library VS (Unix) system calls. The question is: which header files (and functions) are part of the C library and which header files (and...
6
by: junky_fellow | last post by:
On what basis it is decided that a particular funtion should be a part of Standard C library ? Do I get these standard C libraries along with the C compiler ? Or I can use the c complier from...
36
by: lovecreatesbeauty | last post by:
In the C programming language, I/O operation functions are declared in stdio.h, for example, fopen(), fclose(), fwrite(), fread(), fseek() ... But another set of I/O functions are also defined in...
7
by: yang__lee | last post by:
Hi, I have been programming c, c++ on windows. What is the difference in programming on Unix.. are there different syntaxes, functions on Unix. what are mandatory different steps on unix....
5
by: Adam Atlas | last post by:
Does anyone know if it would be possible to create a CPython extension -- or use the ctypes module -- to access Python's own embedding API (http://docs.python.org/api/initialization.html &c.)?...
9
by: David T. Ashley | last post by:
Thanks for the helpful replies on the other thread. Essentially it was pointed out that a process with the same UID as the ones writing/reading the pipes would be able to examine the memory of the...
16
by: mazwolfe | last post by:
Someone recently asked about reading lines. I had this code written some time ago (part of a BASIC-style interpreter based on H. Shildts in Art of C) to read a file with the lines ended in any...
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.