473,473 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Library update

REH
Hi all. I have updated my C++ library. New additions include:

array_type
This class template adds an STL vector interface to an array. The template
may be instantiated to use either constructors or initializer lists. This
class is useful for times when the maximum size of the container is known
and dynamic allocation is undesirable.

nfa
This class defines a non-deterministic finite automaton, which can be
matched against a given set of input. The NFA can be converted to a DFA
(deterministic finite automaton). The library also defines counting_nfa,
which adds counted cycles to an nfa. Cycles may be defined that loop for
exactly N times, at least N times, at most N times, or between N and M
times, inclusive. I have used this class template to implement an English
language parser and a regular expressions class (neither are currently in
the library) and it works very well.

I have also removed the "traits" from my pascal_set class template. Someone
suggested it might be overkill. After some reflection, I agree.

The current version may be found at:

http://www.richherrick.com/software/...k_library.html

Comments, good or bad, are very welcome. I'd especially like to know about
any C++ Standards violations that exist.

REH
Jul 23 '05 #1
0 1122

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

Similar topics

11
by: Timothy Smith | last post by:
is it possible instead of py2exe putting all library's in a zip file, to just put them in a sub dir?
2
by: Venu | last post by:
Hi Everyone, I'm very new to C# and I have the following problem - please help. I have a Windows Forms application called 'FunApp' which has a status bar. I also have a separate class library...
4
by: Robert W. | last post by:
I'm building a simple application that consists of two projects: - Desktop - DataObjects 'Desktop' consists of the forms for the app whereas 'DataObjects' consists of utility classes that will...
8
by: poifull | last post by:
Is anyone using the Microsoft Enterprise Library? If yes, do you like it or not? Any feedback will be appreciated.
4
by: Oscar Thornell | last post by:
Hi, I have a relativley large/complex typed dataset that contains 7-8 tables and some supporting relational tables (lookups) for many-to-many relations. A good exampel would be a dataset that...
4
by: Brian Shannon | last post by:
I am playing around with class libraries trying to understand how they work. I created a class library, library.vb. I placed the library.dll into the bin directory and set my reference. If I...
9
by: Tim Marshall | last post by:
Jeff Pritchard's current thread on stopping a library mde being used made me realize I don't have a clue what he's talking about. I would have asked there, but didn't want to hijack his thread. ...
0
by: sebor | last post by:
October 29, 2007 -- The Apache C++ Standard Library project is pleased to announce that the official stdcxx 4.2.0 release is now available for download from the following location:...
11
by: Jorgen Bodde | last post by:
Hi all, I want to provide my users the ability to download a repository from the web, and after that check for updates. I thought of a mechanism that could do that, but since there is patch and...
0
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I deploy a project which references a custom Class library project (DLL) which is bundled together with the main project. This works fine. But if I update the class library (DLL)...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
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,...
1
isladogs
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.