If your aiming for windows I would use MSXML. Good examples and good documentation.
I'm trying to read in an xml config file with a little information such as screen width, height, and stuff like that, but I'm having a hard time of knowing where to start. I installed an xml parser called Xerces, but there's really no documentation for beginners of the api, and all I'm doing is getting frustrated.
So my question is what's an easy xml parser to pick up with some good tutorials and documentation?
Jacob JingleMember Since 10 Aug 2009
Offline Last Active Jul 21 2013 04:29 AM
- Group Members
- Active Posts 253
- Profile Views 3,479
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
Not being around humorless, boring, self-aggrandizing tools who fake outrage at every little thing they don't agree with.
Posted by Jacob Jingle on 06 September 2011 - 10:43 PM
Posted by Jacob Jingle on 01 September 2011 - 11:15 AM
At this point I think Nehe is actually doing more harm than good for people looking to learn OpenGL. (And it's magnified by the fact that all the search engines love to list that site in their top ten for any search having to do with OpenGL)
nehe was the first i had a look at xD looked quite old to me too^^
In this order:
what tutorial source would you suggest =) ? or are there any recommended books for opengl4 ?
IMHO, best samples on the web. (They cover all versions all the way up to current)
Good online book(but a little old):
Learning Modern 3D Graphics Programming
And get Glew and glm and the opengl registry files(glext.h, glxext.h, and wglext.h) here: header files.
Posted by Jacob Jingle on 26 August 2011 - 12:47 AM
IMHO, best samples on the web.
I haven't done that much "modern opengl" stuff so far. So now I try to familiarize myself with the proper way to do things. But this is getting somewhat frustrating since searching only seems give me lots of tutorials that use all the stuff that is deprecated in ogl3 and lots of forum posts that tell me that it is deprecated... Searching for examples (you know REALLY basic ones) is also of no help, since everyone who does ogl3 examples seems to wrap away all the functionality in his own classes and whatnot.
Good online book:
Learning Modern 3D Graphics Programming
Posted by Jacob Jingle on 11 August 2011 - 06:59 PM
If you want to make a quality game, fast, I would just go with the unreal engine or the like. Or even better, if I was you, I would just use flashdevelop/flashpunk for a flash game. C/C++ will take you a long, long time to learn and even more to master(Even more if you're aiming to make a good game that you can sell).
I wanted to know what is the best way that I can start game programming?
If it's a learning experience you really, really, really want, I would pick opengl and do a simple pong clone(using links I provided), no ball, shaders. And then from there go for a game that's harder to do. And then something harder. Etc.
OpenGL header files(4.2)
G-Truc OpenGL Sample Packs
Learning Modern 3D Graphics Programming
Avoid a site called NeHe at all cost unless you're aiming to develop older versions of opengl that use deprecated code.
No, in my experience most of them are a waste of money and you could do better with Google.
any good books on c++ or c++ game programming that you know of?
(Windows specific) If you're looking for free and easy you can't go wrong with Microsoft's Express Edition. If you want to pay...you again can't go wrong with Microsoft pay version. I don't think anyone in this group will argue that.
Also, what is a good user friendly ide that i should use?
Posted by Jacob Jingle on 09 August 2011 - 10:07 AM
Feds sting Amish farmer selling raw milk locally
That's fairly vague. What did they get arrested for?
Raw Food Co-op Is Raided in California
More money wasted going after Vegans, Mennonites and family farmers. You really have to love the Obama admins priorities. (Let's just hope he gets two terms like his mentor Bush )
Posted by Jacob Jingle on 09 August 2011 - 04:08 AM
A) Maybe your government was, not mine. Declaration of Independence
The US government has being doing that since it was first formed. Hell, the move to a massive consumption economy was one of the finest pieces of social engineering ever. Convincing an entire civilisation that buying cheap things that last a year cheap things that last a century is impressive.
B) Total bs.
A) Actually our government has been arresting people who sell milk.
The government has being telling you to drink milk, eat fruit and veg, cut back on the McDonald's. This is because Americans are the most obese country in the world and, well, you need the help.
B) America is the most obese country on the planet....According to some junk science study published by a tenured teacher or professor wasting government money which could have been used to teach our children, secure the future of social security or some other more important safety net, right? I wonder how people dealing with an endless rise in the cost of their education feel about this practice...
C) If your assertion is true, which I don't think it is, that would only mean that the money our government, in its countless campaigns, billboards, resolutions, etc has completely wasted the money it stole from the private sector. Our government(American) was never designed for this and it shows..
Clearly this isn't the job of our(American) federal government and goes against separation of church and state and the priciples this country was founded on.
The government has been telling you who you can't marry (same-sex, monkeys, the USS Nimitz) since the dawn of time. This was sensible because children are important for growth (although that stress has been lifted now). This led to the current anti-gay-marriage thing where idiots think letting gays marry will send us all to a living hell. It's all tradition that's implanted itself with no relevance to the modern world.
A) I was talking about all drugs.
The government tells you what drugs to do because drugs ruin lives and waste potential. Look at your average stoner. They insist vehemently that weed has no bad points, isn't addictive and would single-handedly save the economy- facts be damned. They usually say all this at 3pm on a Tuesday in their parents garage. Don't even start talking about Heroin, Cocaine et alii. If you were talking about prescription drugs then, well, yeah. Same thing except in certain cases it's ok because they have good qualities as well and have been through testing and safety controls to make sure they have as much good, and as little bad, as possible.
B) I know a lot of people who have done great things even know they used drugs. Look at Bill Gates who did both pot and LSD during his life. Steve Jobs raves about his LSD experiences. Says they were some of the most important events in his life. He says it made him a better person. (I could go on and on)
C) Just because something is legal doesn't mean that everyone is going to go out and do it or get addicted to it. Just because something is illigal doesn't mean people aren't going to use it. Taking drugs from a druggie doesn't mean they aren't still going to waste their potential on something else(alcohol, kids, hookers, etc). I would argue that if wasting their potential makes them happy then who are we to interfere?
D) What about people who have no potential(person has week left to live), don't you want them to be happy?
E) Our draconian drug laws have increased drug use, wasted trillions of dollars for nothing, locked up millions of people and destroyed their lives, decreased personal freedom on people that don't use, etc. They've done more harm than good.
Countries that have legalized drug use have seen a decline in overall use. Drug Decriminalization in Portugal: Lessons for Creating Fair and Successful Drug Policies
Actually I live in a progressive state and they are taking away all the things you listed. Not that I want to, but I can't make moonshine to power my car. I can't use a gun to kill racoons for going after my dogs/kids. Etc
The government is not trying to take away your pickup, guns and moonshine still. It's because there's no such thing as "the government" in the way you are describing it. There's two main parties and some independents- all fighting for different things. There's the Legislative branch which comes down like a rock on the Exec if they encroach on you. And, on top of all this, increased government involvement is probably a good thing.
Note: Actually seeing racoons in real life(pack killing a good sized dog ) shocked the s@#t out of me. Made me wish I could punch the directors of all these nature shows and movies that show them as being small cute lovable animals. They're f@%king vicious, vicious animals.
Yeah, the people of Greece are rolling in it....So much so that they can afford to burn down their infrastructure when the government talks about breaking up the taxi monopoly by issuing more cabbie licenses. Note: I'm not arguing Americans have a lot of freedoms...I'm arguing that, provided their not hurting anyone else, they should have more. It's what this country was founded on.
Compared to the US, on your scale, most European countries are police states on the verge of Jew-killin'. We get constant advice about things, have more restrictive laws and can't own guns. Yet we are richer (on average), safer, have free healthcare and higher quality of life.
BTW, how would these gun free Eurabian countries be doing if they were forced to defend themselves against an invasion(see Russia/Georgia conflict)?
Clearly the US needs to stop the thankless job of being the world's protector/nation builder/body bag filler and needs to shut down all its bases and bring its troops home. The world can take care of itself and the money saved would allow us to pay off our debt and "roll in it." Let these gun free Eurabians pay for their own defense, let them handle their own conflicts, let them clean up their own genocides, their own despotic leaders. Let them pay their fair share of blood and treasure. No more leeching off the big guy on the block.
TSA Agents love the public and their job
Expanding government != Orwellian Police State.
Expanding government != good
Posted by Jacob Jingle on 08 August 2011 - 01:33 AM
He dropped it when he thought it was going to cost him his job in the Obama admin. And we don't know that he actually dropped it in this little late term conversion, more then likely he dropped the radical pose for the radical ends and would have still pushed for the same crap once his position was secured.
Didn't Obama's science czar call for the same thing?
No. IIRC he (we're talking about John Holdren, right?) wrote a paper which examined a variety of solutions to population problems and ultimately rejected forced sterilization and the like in favour of birth control and abortion.
People like this, who are far from a minority and whose arguments are starting to resonate with the GW crowd are going to pop up more and more as our government goes from being small with limited powers to being something like a parent/godhead that tells you what you can eat, who you can marry, how many kids you can have, what drugs you can do, etc. (Again, Constitution and natural rights be damned)
Posted by Jacob Jingle on 07 August 2011 - 01:31 AM
But in the same vain we don't give a neo-Nazi a pass because he didn't take part in the Holocaust, doesn't hate all the Jews, etc. We don't give a communist a pass for the 25 million that died in Russian gulags. If you call yourself a progressive, knowing what progressives did to this country(progressive era alone), knowing the people they hurt, knowing the people they killed, I mean my god, they did radiation test on babies.....I'm not going to give a progressive a pass for associating with a group that did horrible things(and plans on doing them again).
My position is that selectively reflective review of history which informs a person's views of the present is dangerous. It's not reasonable to consign present actors to the views and practices of people from seven decades ago because of a single word
No, I agreed they tried to change their label and become faux liberals...Because for some time the word progressive was akin to the word Nazi. Progressives still believe the same old crap about an all powerful government, purified of all dissenters, as being the key to advancing this country past all its ills(Constitution and natural rights be damned).
Especially when you yourself agreed that the term itself already changed what it stood for once, and has now been supplanted by a different one.
Example: didn't AL Gore just call for forced sterilizations of all women under 25 to save the planet? Didn't Obama's science czar call for the same thing? Etc. (The last time it was for the purity of the human race, this time it will be for the planet, mark my words, I've seen it before)
Posted by Jacob Jingle on 05 August 2011 - 10:17 AM
Corporations/rich people don't pay taxes...They just tack it onto their product or service and pass it on to the customer. Closing the loopholes would just be a stealth tax on the poor and middle class every time they went to the store, hospital, etc.
Rich people and corporations will just keep using the loopholes/incentives as long as they are there regardless of their tax rate
Legalize and tax all drugs. Ending our failed drug war would save/make us hundreds of billions.
Or we could just legalize and tax marijuana...
Posted by Jacob Jingle on 03 August 2011 - 11:01 PM
The progressive movement has nothing to do with progress(whatever that means), just like five wars Obama has nothing to do with Hope and Change(whatever that means).
That is a very weird thing to write. First of all, it does seem like progressives are letting the crisis go to waste. The policies that are being implemented in response to the crisis are incredible anti-progressive.
The only thing the progressive movement is about is more government control...So an elite few can become even richer and more powerful.
Create a crisis = Progressives helping the poor to progress through poverty by giving them loans they can't pay back.
Exploit = Things predictably go south and only politically connected people get the bailouts and make a profit from the mess. New regulations are passed to protect these people and end competition. More too big to fail companies. What caused the problem isn't fixed, rinse and repeat.
And this is just one example.
Food prices are spiking, energy prices are spiking, etc. So far 16 states have considered having their own currency due to what this government is doing to our dollar.
Second, the current situation has nothing to do with Weimar
This government isn't going to cut it's spending, the Fed isn't going to stop printing money and jobs are going to continue to move overseas. The writing is on the wall. (Just sit back and enjoy the ride)
Hyperinflations are mostly a political phenomenon, not an economic one
Posted by Jacob Jingle on 03 August 2011 - 11:38 AM
My country has less than 5 percent of the world's population. But it has almost a quarter of the world's prisoners. That's not a police state?
Why the hyperbole? That's part of the problem right now -- there's so much hysteria going around, on all sides of the issue. We don't live in a police state.
My government can track me(gps), tap my phones, read my email. etc, all without a warrants and on a whim. It can destroy my good name on a whim. It can shutdown my business on a whim. My government can take my property on a whim. It can molest my wife and kids at the airport on a whim. Hell, it could shot me dead in a drone attack on a whim. There isn't one area where my rights mean anything anymore. Life, Liberty and the pursuit of Happiness don't exist for anyone but the connected.
Hyperbole? When my government acts like my warden/master....I got to call it like I see it.
I know I'm living in a police state when my government can do whatever it wants by simply labeling me a potential terrorist, potential drug dealer, etc. Guilty before proven innocent.
You know you're not in a police state when you're not terrified to describe your government as a police state in a public forum.
Jose Guerena RIP
Posted by Jacob Jingle on 03 August 2011 - 12:13 AM
Never going to happen. The debt is going to double, triple, etc and there is nothing anyone is going to do about it. They try and they will get voted out on their asses, have their name dragged through the mud and destroyed and the like. And even if we confiscated all the money from those "evil" rich American parasites, the money would be gone in a month. The system is doomed. Doomed.
I would be hysteric if I were a government employee. I am not though...
If anything this will just make the US as a whole more pissed at politicians in general, which I view as good. Hopefully we'll get a strong push to get some new congressmen/senators and a president who's looking to mix stuff up in the political machine.
Right now we need political reform more than anything, shortly followed by education and tax reform.
This is what happens when you have a police state world cop government that treats everyone like a child and tells them they can have everything for free.
The only thing anyone can do is sit back and prepare for the crash and reboot...Its going to be a hoot! (We all know progressives never let a good crisis go to waste(weimar trap))
Posted by Jacob Jingle on 27 June 2011 - 09:20 PM
Add -mwindows to linker options. (Enter other options box)
For anyone with same question the answer is:
Workspace -> Open Active Project Settings -> linker -> options -> ... button -> check c++0x option
Now I just have to figure out how to fix the error "debugger exited with the following error string: "no executable specified, use 'target_exec'.""
This thread can be closed. Thx ApochPiQ.
Posted by Jacob Jingle on 03 June 2011 - 11:10 PM
A) I'm not afraid of anything....I could care less why douche bags are in jail. Don't do the crime if you can't do the time. (Don't try and turn me into your straw man)
What is it that makes you so afraid of accepting that only half the people in jail are violent?
B) To get back to the premise of this thread, I don't see how being nonviolent somehow makes committing a crime more acceptable and warranting that a person shouldn't go to prison. (See Madoff)
C) I also didn't see nothing in that wiki article that said a large portion of these nonviolent criminals, that are serving long prison sentences, are in prison for stealing purses or other insignificant bs.
D) I refuse to accept this article's viewpoint because it doesn't give enough information to back it up. How many of these nonviolent criminals were arrested with a weapon, have a past history of violence, had their violent crime removed for snitching, plea bargained their violent act away, are in a criminal gang, etc.
<ignoring you again going the straw man route> The fact that it doesn't give you enough information to make an intelligent decision. It's like going to an apple fan boy site to discuss Microsoft.
Why is the presentation of those statistics considered "spoon feeding" of some kind of wacky way of thinking??
No need...It's wiki, by design all its articles are like this. (If it really provided you with the information you needed it would take you months to read through it)
If you really think it's being biased, instead of just presenting the reported facts, go slap a NPOV violation on it.