>>11 Implying ``Prof'' will read source code, or even cares
IHBTV
Name:
Anonymous2009-05-27 22:08
>>11
If he knew his head from his ass he wouldn't ask you to use C++ for a task for which it's entirely unnedeeded and unsuited. Good thinking about the library though, some retards would just have mindlessly hobbled together their own buggy implementation of some subset of XML.
>>15
Maybe not in a ``real world'' scenario, but when in an assignment, this is what the prof expects. I mean, look at >>9-san's post, it's the core of the application.
>>15
Yes it would, you retard. He needs to scrape data from a particular document. There's absolutely no reason to waste time implementing a generalized solution that can parse any valid XML representation when the application is going to require it to have the exact same logical structure anyway.
Name:
Anonymous2009-05-28 0:30
>>17
The extraction function goes from, what, a one liner to a three liner if you're using a clunky language or XML library, and it won't break when they change to a parser that quotes attributes with ' instead of ", or adds a space before the /> or whatever. How is that not a good tradeoff? Does it hurt that much to not get to wave your huge regexp dick around?
OP again. It's not a marked assignment, my prof simply said to try to create a live currency converter if we wanted something simple and real-world to do outside of class. He never said how to do it, I just figured that XML data is sitting there, so if I could scrape that page every time the user wants to convert, it'll be as 'live' as live can be, realistically.
I figured it's a good chance for me to learn how to load external libraries and stuff into C++ on my own.
Anyways, thanks for the discussion, the DOM creator on Xerces looks like it might do the trick. Failing that, I might be back :o
Failing that, I might be back :o NO.
THIS IS NOT A FUCKING FRIENDLY HOMEWORK HELP FORUM.
GET THE FUCK OUT, RETARD.
Name:
Anonymous2009-05-28 9:26
Thanks /prog/rammers!
I told a few guys in my class that, save for a few assholes like >22, you were real helpful.
Do you people use Java too?
Name:
Anonymous2009-05-28 10:59
>>23
Yes, we are experts on all ENTERPRISE languages and technologies. Tune in tomorrow for our weekly knowledge-sharing session on AJAX best practices.
Name:
Anonymous2009-05-28 11:18
>>24
This would be rather nice. I was thinking of writing the next Google using only a popup of about 300x300 pixels and XMLHttpRequests to scrape the Web in real time after the user entered his search term.
Could really need some ENTERPRISE BEST PRACTICE TURN-KEY SOLUTIONS to help me getting started.
Name:
Anonymous2009-05-28 11:22
Don't know if trolling...
Name:
Anonymous2009-05-28 11:31
>>22
you know, the first time i came i /prog/ i made a thread about some newbie sepples problem and i got a very friendly, very polite answer.
i don't know, maybe i was reverse trolled
>>21
I've been helpful because once, I was as clueless as you.
I still consider you a border-line retard because you couldn't find this on Google. http://www.google.pl/search?q=c%2B%2B+xml
>>26
You might want to learn about the /prog/ principle (it might surprise you, but I invented it):
``If, in a /prog/ thread,
you're not sure who the troll is,
it means YHBT.''
Name:
Anonymous2009-05-28 17:03
>>28
Thanks for being helpful. It's one thing to type shit into google, it's another thing to determine whether A) what you've typed in has any results you can work with, or B) whether you know enough to even determine A.
Instead of pissing around for a long while trying to figure out what to use and whether it was worth my time, I figured I'd come to a place where people might already have that sorted and then I could simply learn to use what I can presumably know as a good library. Again, thanks for being helpful :D
Some people, when confronted with a troll, think "I know, I'll reply with a well thought post pointing out the flaws in troll's argumentation". Now they have two problems.