A container library for C

I have been talking about this since quite a long time. It is (maybe) 
time to offer the first release.

The URL is:
http://www.cs.virginia.edu/~lcc-win32/container.html

There you can download a zip file containing
(1) The specifications of the library
(2) The source code of the sample implementation
(3) a makefile for Unix systems

Enjoy!

jacob
0
jacob
6/27/2010 4:26:34 PM
comp.compilers.lcc 1270 articles. 0 followers. Post Follow

0 Replies
723 Views

Similar Articles

[PageSpeed] 23
Reply:
Similar artilces about - A container library for C:

US-TX-Austin: Sr. Design Verification Eng., C/C++, Assembly, PC archt, X86; Perm (45334657616)
US-TX-Austin: Sr. Design Verification Eng., C/C++, Assembly, PC archt, X86; Perm (45334657616) ============================================================================================== Position: Sr. Design Verification Engineer Reference: SMC01831 Location: Austin TX Duration: Perm Skills: Requires strong C/C++ and assembly language skills. Highly motivated self-starter. Excellent verbal/written communication skills. Good understanding of PC architecture (memory, I/O, interrupts, devices)preferred. ...

Zeta SBC
Zeta SBC is an easy to build Zilog Z80 based single board computer. It is inspired by Ampro Little Board Z80 and N8VEM project. Zeta SBC is software compatible with N8VEM SBC and Disk I/O boards. This is an open source project: all design files (KiCad schematics and PCB, Gerber) are available from N8VEM Wiki. Here are the specifications: - Small form factor (170 mm x 100 mm, 6.7" x 4"), can be mounted under a 3.5=94 floppy drive. - Through hole components only, most of the components are pretty common (a good way to get rid of some stuff in your junk box). - CPU: Zilog Z80. It was t...

which fileset contains man pages for system calls /usr/share/man/man2
I am trying to find information about system calls like kwrite. It is supposed to be in section 2 of man pages but ls /usr/share/man/man2 shows that it is empty. Then I tried which_fileset /usr/share/man/man2 and it tells me the fileset is bos.data. However after I installed bos.data I found that it is actually empty. I tried googling everywhere but cannot get any useful information. the infocenter for AIX does not provide information on system call number and arguments either. I remember there may be some header files containing some information but I do not know exactly where it is. Any one ...

Add a library in SDK project, 462656
Hi all, I'm trying to add a library to my project but I don't know the way to do it... I never did this operation before and I don't know what files I must create, in which location I must put them and how I must set the compiler options... Please could anyone tell me step by step how must I do? (the lib will contain few functions that I will use as a subroutines) thanks a lot... Daniele ...

[ANN] Data Plotting Library Dislin 10.2
Dear Fortran programmers, I am pleased to announce version 10.2 of the data plotting software Dislin. Dislin is a high-level and easy to use plotting library for displaying data as curves, bar graphs, pie charts, 3D-colour plots, surfaces, contours and maps. Several output formats are supported such as X11, VGA, OpenGL, PostScript, PDF, CGM, WMF, HPGL, TIFF, GIF, PNG, BMP and SVG. The software is available for the most C, Fortran 77 and Fortran 90/95 compilers. Plotting extensions for the interpreting languages Perl, Python and Java are also supported. Dislin is available from the site ...

C++ standard libraries for gcc 3.3.5
For a long time I was programming on OS/2 with VAC/C++ 3.0 only. Right now I decided to try out gcc and I downloaded gcc version 3.3.5 and installed it - so far successfully as it seems. One major reason for trying this was the idea that I could use the current C++ standard libraries easily; this is at least what I assumed. More specifically I mean the iostream and the STL libraries, which do not seem to be included in the gcc package - unlike quite a lot of C library functions. Is there a place where they can be obtained, "ready for gcc 3.3.5 for OS/2"? Or do I have to ...

Overlay on activeX Container
I've got a viedostream running in an activeX container. Now I want to lay a grid over the video in order to get the position of the mouse(courser etc.) in the displayed video. How can I create such an overlay? I am not able to place anything over an activeX container. Can anybody help me out? Thanks ...

What container
Hi friends, I have a large number of entities, each possessing some unique identifier. Which container is appropriate for storing these entities? It would seem an ordinary map would be ideal, i.e. class Entity { int identifier; int someOtherVariable; }; std::map<int, Entity>; However, the identifier exists *both* in the map and in the entity. I would like to avoid this duplication, if for no other reason than aesthetical (sp?). I could use a vector, but then I'd have to consider whether the elements must be stored in sorted order. I could use a set (supplying a suitable c...

US-TX-Round Rock: Sr. Sw Eng/Developer, C/C++/Java/XML/OOD/UML/Win/Linux; (45330832408)
US-TX-Round Rock: Sr. Sw Eng/Developer, C/C++/Java/XML/OOD/UML/Win/Linux; (45330832408) ======================================================================================= Position: Sr. Sw Eng/Developer Reference: SMC01723 Location: Round Rock TX Duration: Skills: 7-10yrs exp in full life-cycle development. Exp with a variety of languages, methodologies & platforms including: C / C++ / Java / XML / OOD / UML / Windows & Linux. Exp/understanding of Storage products, including: RAID, ...

Why does the output into a file contains hex'00' every second byte?
When I output some stuff into a file with echo ..... >>myfile.txt and I look into this result file then every second byte is hex '00' (=1 Byte) Why? Is this a matter of Unicode output? How do I disable this Unicode output? Dennis On 09 Dec 2008 18:48:56 GMT, halv@persrec.com (Dennis Halver) wrote: |When I output some stuff into a file with | |echo ..... >>myfile.txt | |and I look into this result file then every second byte is hex '00' (=1 Byte) | |Why? Is this a matter of Unicode output? | |How do I disable this Unicode output? | |Denn...

WireTap files can't be imported into iTunes; how to bring AIFC file into iTunes library?
I ran WireTap on my Mac (OS X) to record a sound file. It plays fine using QuickTime player; I tried to add it to iTunes (via "Add to Library") but nothing happened - it didn't give an error, but also didn't add it to the library. I can't seem to convert it using any of the conversion programs I have - they all say the format it wrong. But it does play perfectly; the Get Info says it's an AIFC file. Can anyone tell me what settings you use with WireTap to make iTunes accept its files? Thank you in advance for your time. -- Mike Levin mlevin77@comcast.net In arti...

Bigint library?
Is there a library to work with 128,256,512, or 1024 bit integers? Microsoft PowerToy Calculator can calculate up to 2^1024: 17976931348623159077293051907890247336179769789423065727343008115773267580550096313270847 73224075360211201138798713933576587897688144166224928474306394741243777678934248654852763 02219601246094119453082952085005768838150682342462881473913110540827237163350510684586298 239947245938479716304835356329624224137216 so i think there might be. tnx Tosha wrote: > Is there a library to work with 128,256,512, or 1024 bit integers? See this FAQ: http://www.parashift.co...

Weblogic, PointBase Identity Column and Container Managed Entity Bean
Hi, I have a container managed persistent (CMP) EJBean called Reservation. The key field is reservation id which maps to an identity column in a PointBase table. The data required to create the EJBean is user id, flight id and flight date and I set those in the ejbCreate() method and I wish PointBase to generate the next reservation id. Since I do not explicitly set the reservation id in ejbCreate(), the container (WebLogic) throws an exception that key field is not set in the bean. Can anyone please suggest how to overcome this situation? I have to...

How to concatenate strings that contains has nulls?
I can't seem to find a way to concatenate strings that have nulls within the string. I have a string that I need another string that has nulls in it and what to append the 2nd string, 3 string and so forth to the 1st string. Any ideas how to go about this? Thanks, jt "jt" <jtsoft@hotmail.com> writes: > I can't seem to find a way to concatenate strings that have nulls > within the string. > > I have a string that I need another string that has nulls in it and > what to append the 2nd string, 3 string and so forth to the 1st > string. > > A...

US-TX-Austin: Analog Design Eng., Chip level floorplanning, D/A, A/D, DSP; C-P (45324633021)
US-TX-Austin: Analog Design Eng., Chip level floorplanning, D/A, A/D, DSP; C-P (45324633021) ============================================================================================ Position: Analog Design Eng. Reference: SMC01560 Location: Austin TX Duration: C-P Skills: Exp in assisting with test program development. Proven chip level floorplanning skills. Strong team oriented approach to problem solving. Requires a MS or PhD in Electrical Engineering. General knowledge of analog integrated circuit...

Rdefine C-M-\
Hello. I have a germany keyboard's layout and in Windows it is impossible to call sequence C-M-\ which calls "Indent region". It's available only from the menu. Tell me please, how can I redifine this sequence to another? (using custom.el) Thank you. p.s. sorry for my english. "voxel3d" <ripper.john@gmail.com> writes: > Hello. > > I have a germany keyboard's layout and in Windows it is impossible to > call sequence C-M-\ which calls "Indent region". Why? Press Ctrl, Alt, Alt-Gr and �. Or press first Esc, ...

A novel approach to creating templates in C
Toward the end of the page: http://home.comcast.net/~fbui/OOC.html <usenetfunny@yahoo.com> wrote in message news:3d58fb2a-7bf7-45ce-a2bb-85e121bda4e6@u10g2000vbd.googlegroups.com... > Toward the end of the page: > http://home.comcast.net/~fbui/OOC.html Why are you actually putting interface function-pointers within the struct itself? IMVHO, this can be a huge waste of space. A MUCH more space efficient approach is to include a single pointer to a constant vtable. Something like this, modulo bugs because I am quickly typing it directly in the newsreader: /* common object pr...

US-TX-Austin: Software Eng., 5yrs exp., C++ mastery on OOP, C, Assembly, debug; (45319157605)
US-TX-Austin: Software Eng., 5yrs exp., C++ mastery on OOP, C, Assembly, debug; (45319157605) ============================================================================================= Position: Software Eng. Reference: SMC01564 Location: Austin TX Duration: C-P Skills: BSCE or BSEE with a minimum of 3-5 years related experience. 3-5 years experience implementing development tools for embedded systems. C++ with emphasis on object oriented programming concepts. Proficiency with C/C++, Visual Basic, C...

can object contain object that contains it?
How dangerous or stupid is it for an object to have a reference to the object which contains it? If I have a class called $controllerForAll which has an arrray of all the objects that exist, what happens if one of those objects, when it is created, takes a reference to the object that contains it? Do bad things happen? class McShow { var $dsArray; var $htmlObject; var $loopObject; var $getInfoObject; var $controllerForAll; function McShow() { $this->controllerForAll = $GLOBALS["controllerForAll"]; } Hi Lawrence, > How dangerous or stupid is it for an object...

[JW] can char c='\xff' has the value 0?
Suppose an implementation where a byte consists of 8 bits and the representable range of char is same as that of signed char. char c = '\xff'; Is this implementation allowed to assign 0, that is the null character, into "c"? The answer for this question seems to depend on the answer for the following question: Does the wording in TP5 apply to the above case? if there is no corresponding member, it is converted to an implementation-defined member other than the null (wide) character. The value that the numeric escape seq. ...

US: Interface Support, w/Business Objects, Report Composer, or C,& Medicaid exp. (45283657620)
US: Interface Support, w/Business Objects, Report Composer, or C,& Medicaid exp. (45283657620) ============================================================================================== Position: Interface Support Reference: SMC01130 Location: Duration: Skills: Functional and technical experience working with relevant software, including programming languages to include one or more of the following: Business Objects, Report Composer, C. Medicaid experience preferred. Scope: Responsible for interface development, maintenan...

mini icons in a container
How do I set an icon to a mini icon in C for a container. From the documentaion it is mentioned that in C++ that this is possabile by setting the IContainerControl::showminiIcons, but I can's see how I can do this in C or find it documented anywhere else Keith On Thu, 11 Mar 2010 13:56:10 UTC, "Keith" <ktmeringtonNOSPAM@nospamgmail.com> wrote: > How do I set an icon to a mini icon in C for a container. > >...I can's see how I can do this in C or find it documented anywhere else Yeah, this isn't really documented in the Toolkit b...

Vstr 1.0.12 (string library in C)
About ----- Vstr is a string library, it's designed so you can work optimally with readv()/writev() for input/output. This means that, for instance, you can readv() data to the end of the string and writev() data from the beginning of the string without having to allocate or move memory. It also means that the library is completely happy with data that has multiple zero bytes in it. This design constraint means that unlike most string libraries Vstr doesn't have an internal representation of the string where everything can be accessed from a single (char *) pointer in...

US-TX-Austin: RF Application Eng, Analog/Digital design, Mixed signal bckgrnd, C (45320014405)
US-TX-Austin: RF Application Eng, Analog/Digital design, Mixed signal bckgrnd, C (45320014405) ============================================================================================== Position: RF Application Eng Reference: SMC01504 Location: Austin TX Duration: C-P Skills: MSEE or BSEE plus 5 years RF design/product experience. 0-5 years RF design/product experience. Design experience with analog and digital modulation schemes (AMPS, GSM, TDMA, CDMA) a plus. Strong mixed-signal background. ...

Available C++ Libraries FAQ #29
Available C++ Libraries FAQ URL: http://www.trumphurst.com/cpplibs/ This is a searchable list of libraries and utilities (both free and commercial) available to C++ programmers. If you know of a library which is not in the list, why not fill in the form at http://www.trumphurst.com/cppsub.html Maintainer: Nikki Locke cpplibs@trumphurst.com Nikki Locke wrote: > URL: http://www.trumphurst.com/cpplibs/ I suggest you change "public domain" to "free" in that page. Public Domain means that the library has no copyright. That's basically never the case, and thus wr...