|
WhiteSky wrote: ...and Link To Coredll.lib
That's kernel32.lib .
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hello, im serching for a simple free DOM-Parser which is written in c and has no dependencies to some ms or other libraries. Everything which I found here, did not function in my project not well. Any Ideas.
|
|
|
|
|
|
|
search google and/or sourceforge for tinyXML.
this is certainly the best library, with no dependancies (only the STL, but you can restrict it not to use the STL).
BTW, i'm currently writing mine
|
|
|
|
|
toxcct wrote: BTW, i'm currently writing mine
I have my hand raised ready for beta testing
I find TinyXML not to be as Tiny as it claims. It does the job well, but it's bloated with all sorts of functions that I would probably never ever use. That and it's inability to support UNICODE.
|
|
|
|
|
WalderMort wrote: I find TinyXML not to be as Tiny as it claims
actually, i also think so, that's mainly why i'm writing mine, but as there are so many people around here finding it pretty cool, i thought i might be just me... welcome to my club then
WalderMort wrote: I have my hand raised ready for beta testing
damn, now i have to writing maintainable code
|
|
|
|
|
Are you planning to implement anything like the TiXmlHandle class? I never could get it to work the way they claim it should and instead have to resort to their whole 'get the node' 'convert' 'get the child'... Why couldn't they just make it a simple one liner. If it's there it's there, if not then "aint you glad you didn't write all that code"?
toxcct wrote: damn, now i have to writing maintainable code
And don't forget the comments!
|
|
|
|
|
i don't really know for the moment.
i'm eating the XML 1.0 specifications for now ; i'll think of the implementation a bit later
but i plan to port into C++ the JDom library (from Java)... maybe i'll have to implement such a handle class for managing the NULL references (yes, i'm more favorable to using references than pointers )
|
|
|
|
|
toxcct wrote: i plan to port into C++ the JDom library (from Java)...
I heard that is supposed to be one of the best, but since I don't do anything java wise I wouldn't know.
Not so long ago I built my own Excel parser. That was a semi-port from java. I don't mean to bloat but I found nothing in C/C++ that comes even close to my implementation of reading a whole document in just 5 lines of code. That was using references also.
|
|
|
|
|
WalderMort wrote: I heard that is supposed to be one of the best
yes, it's pretty cool ; and as we use Java at office i could test it for all the common usage features...
WalderMort wrote: Not so long ago I built my own Excel parser. That was a semi-port from java. I don't mean to bloat but I found nothing in C/C++ that comes even close to my implementation of reading a whole document in just 5 lines of code. That was using references also.
why not writing an article about it ?
|
|
|
|
|
toxcct wrote: why not writing an article about it ?
You know, I did. The first time my HD crashed, the second ( I used that HTML helper found on CP ) I chose the wrong "save" and saved the helper rather than what I had written. After that I kinda gave up.
|
|
|
|
|
when was it ?
can you give it a new try by now ?
come on, i'm behind you
|
|
|
|
|
I'll do it again, but I'm no hurry. Besides it'll have to wait till I get some time off work
|
|
|
|
|
sknobli wrote: Hello, im serching for a simple free DOM-Parser which is written in c and has no dependencies to some ms or other libraries. Everything which I found here, did not function in my project not well. Any Ideas.
http://www.codeproject.com/soap/markupclass.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Apache has one. Also if you use Google (ever heard of it?) you will find comparisons of the various DOM implementations (in case you are interested).
led mike
|
|
|
|
|
Xerces (from W3c)
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
Thanks to all. I think i'll try tinyXML at first.
|
|
|
|
|
Can anyone help me implementing a text editor in c#.
Don't wait to hear a word of thanks from anybody when you help them instead ask them to help three other people and ask them to continue in chain.
|
|
|
|
|
Unlikely, in the C++ forum. Try again in the right place (and you'll get a better response if you try yourself, and post what problems you're getting)
|
|
|
|
|
implementing a text editor in c# Or VC++
|
|
|
|
|
wrong forum dude
ask the C# forum[^]
AND don't forget to search by yourself before asking dumb questions ! there are tons of it around here, and google might help much more in this regard.
|
|
|
|
|
Back toxcct
|
|
|
|
|
WhiteSky wrote: Back toxcct
nope, i finished my work today
but going home now... it's being late !
|
|
|
|
|
Hi folks,
Two questions from a medium skilled programmer.
First, I would like to write a program that displays the current time/date and continually updates it. Do I need to use the struct tm from the header file time.h? Second, I would like to be able to determine my program's compile time and also how much memory it takes up. I remember the Borland compiler use to print out this information every time that you compiled but I have not yet figured out how to get this information from visual studio.
Thanks!
Carolyn
|
|
|
|