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 3 1381 mr*****@gmail.c om 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.progr ammer. Here we only deal with standard C.
--
Flash Gordon
In article <ii************ @news.flash-gordon.me.uk>,
Flash Gordon <sp**@flash-gordon.me.ukwro te:
>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.prog rammer. 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
On Mar 26, 1:18 am, mr.h...@gmail.c om 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.progr amming is a better place than here.
It sounds to me like you just want a dictionary data structure. There
are lots of those available. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Raymond Hettinger |
last post by:
Comments are invited on the following proposed PEP.
Raymond Hettinger
-------------------------------------------------------
PEP: 329
|
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 libraries. I'm not sure
if that's a good thing or not. AFAIK, most of Qt is compatable with the
Standard Library. That is, QLT can interoperate with STL, and you can
convert back and forth between std::string and Qt::QString, etc.
Are there any...
|
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 function calls) are part of the
(Unix) system calls.
The cause of my confusion is that for example stdio.h is considered
|
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 one vendor and the standard
C libraries from the different vendor ?
Also, the C standard (N869), page 164, refers to "standard
headers". Do I get these standard headers along with the
C compiler ?
|
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 Unix, for example,
open(), close(), read(), write(), lseek() ...
Which set of functions is more suitable for I/O task, C library version
or Unix version?
Thank you
| |
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. Whst is the difference
between programming c++ on windows and unix. Which compiler one has to
use on unix.
|
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.)? Could a Python
program itself create a sub-interpreter, and work with it with all the
privileges and capabilities that an actual C program would have?
I realize that this may be a bit too... mystical? ... for a lot of
people's tastes, but I'm just...
|
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 pipe writers/readers and
figure out what data had flowed.
Here is my application (and I'd be grateful for any other advice).
I'm incorporating cryptographic FOBs into my PHP-based database application
to enhance login security.
|
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 format:
Microsoft-style CR/LF pair, Unix-style NL, or Mac-style CR. It also
allows for EOF that does not follow a blank line. I thought this would
make text-file sharing a bit easier.
Here it is:
/* Load a file, normalizing newlines to *nix...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |