EXSLT and regexp011 (7/25/2005 3:45:22 PM) comp.text.xml I'm trying to use the EXSLT regexp package from http://www.exslt.org/regexp/functions/match/index.html (specifically the match function) with the libxml xltproc (which supports EXSLT), but whatever I do gets ... Chris
Is an empty translation unit valid?435 (6/28/2005 1:09:31 PM) comp.lang.c Does a translation unit have to have at least one externally visible declaration or function definition to be valid? As I read the standard, it doesn't: it must have at least one declaration or function defini... Chris
'Fuzzy' text matching1327 (5/16/2005 9:45:29 AM) comp.programming I have a requirement to do a "reasonable match" of text, given a list of possible matches I want to find the 'best'. A perfect match should give zero difference, with the number going up as the match gets wors... Chris
automake and derived include files030 (5/3/2005 1:40:39 PM) comp.programming I have a library where the include files are distributed in a 'generic' form, and are then processed at configuration / build time to localise them. For instance, one of them defines C types based on what the ... Chris
Naming factory functions1029 (3/24/2005 1:00:47 PM) comp.lang.c++ What do people call their factory functions? 'new' is not an option (yes, it can be overloaded but has to return void*). The context is: class MyClass { public: // Factory functions stati... Chris
long double in C89?729 (1/6/2005 6:22:16 PM) comp.lang.c Could someone who has access to the C89 specification please confirm whether the type long double existed in that spec.? The only copy I have is from the early draft stages, and it wasn't in that (tatty paper ... Chris
Off-topic threads3332 (1/2/2005 11:51:26 AM) comp.lang.c I notice the real reason for not posting "off-topic" here is that the result will be a long thread on whether the matter is off-topic or not -- caused by the very people who claim that they don't want to see of... Chris
Scope of block-local variables829 (11/27/2004 2:59:34 PM) comp.lang.c In the following code, what is the scope of the variables? int main(void) { int var; for (var = 0; var < 10; ++var) { int var = var + 5; printf("%d\n", var); } return 0; }... Chris
Odd preprocessor behaviour?1329 (11/21/2004 10:19:50 PM) comp.lang.c Is the following code standard-compliant, and if so what should it do? And where in the standard defines the behaviour? #include #define DEF defined XXX int main(void) { int defined = 2; #if... Chris
ANN: xcpp C preprocessor now available629 (11/14/2004 8:47:36 PM) comp.lang.c xcpp is a rewrite from scratch of the scpp and other preprocessors (I haven't found one that compiles and works, so I wrote my own). It is designed to remove redundant conditional compilation, and replace know... Chris
atrcmp and ==2761 (8/2/2005 10:34:31 AM) comp.lang.c Hi, Why is there a difference when we compare char str1[]="Hello"; char str2[]="Hello"; with strcmp and == strcmp gives them as equal and == gives them as unequal ... meenu_kg(26)
Determining Syllables927 (8/4/2005 4:51:38 PM) comp.programming Does anyone know of an algorithm that can accurately determine the number of syllables in a given English word - esp. if that word isn't already 'known' by such an algorithm? FYI, there are two approaches I'... peet.morris3(4)
Array assignment via struct3636 (8/4/2005 10:41:10 PM) comp.lang.c Hi! I'm working on automatically generated code, and need to assign arrays. memcpy is an obvious solution, but it becomes complicated to use in the context I'm working on, ie.: I could use it but I don't want ... demon_lord(11)
File Merge1416 (8/5/2005 4:17:43 AM) comp.lang.c I'm writing an application that requires an "intelligent merge" of 2 files. That is, equal data has a "preferred source" that I want to write out. What I have works, I believe, but it seems horribly cum... mrc2323(170)
what is difference between sizeof and strlen8341 (8/5/2005 7:57:04 AM) comp.lang.c hello, what is difference between sizeof("abcd") and strlen("abcd")? why both functions gives different output when applied to same string "abcd". I tried following example for that. #include #include void ... rahul8143(77)
clarification on character handling2125 (8/8/2005 5:42:54 AM) comp.lang.c 7.4#1 states The header declares several functions useful for classifying and mapping characters.166) In all cases the argument is an int, the value of which shall be representable as an unsigned char or shall... aegis942(122)
Data Structure problem227 (8/8/2005 8:11:54 AM) comp.lang.c Hi, I have a problem in data structures which most of the people find a homework but that it is and I am sorry for that. i am stuck in this one .Please try to help me , just provide me the outline how to analys... pp_5555(6)
unsigned to signed integer convesion1929 (8/8/2005 2:27:35 PM) comp.lang.c How the unsigned to signed integet conversion is done ? For eg: unsigned int ui = 100; int si = ui; What will be the value if "si" is printed ? How this conversion is done ? Thanx for any help in advance ...... junky_fellow(377)
Form feed character in header files822 (8/9/2005 11:18:56 AM) comp.lang.c Hi, On Cygwin, most of the header files for gcc and g++ used UNIX style line breaks, so I've been replacing these (by copying into Wordpad from Notepad and then copying out again) with Windows-style line break... zeroPleaseDontSpamtype(2)