uh
/prog/
how the fuck do i XML?
specifically, does there exist a tutorial online on how to construct an XML importer of a C++ program?
my professor assigned this last minute thing, and i haven't had time to work on it until now. i basically need to make an XML importer that can read the variable within an openGL program. a simple little thing with a 2D grid, basically i just need the XML program to spit out various data from the program; where the character is, the size of the grid, ect.
are there any tutorials which go over this? i'd rather work on the problem myself, but have something to go on, you know?
the openGL program i'm importing from is very small, just a 2D grid with a white square on it that you move around with the arrow keys. not more than 200 lines
>>1 how to construct an XML importer ... i basically need to make an XML importer ... i just need the XML program to spit out
XML is a "markup language." You don't write code in it. It sounds like you want something that imports XML, but then you say that the input is an OpenGL (C++) program. C++ is not written in XML. I don't understand how XML is involved in this project at all.
>>5
now you see my problem
here's the assignment, word for word;
This part asks you to write an XML exporter/importer for your HappyFeet project. The user can press a button and the code will write an output to a file called HappyFeet.xml (in your Output directory).
and that's it. Happyfeet is the name of the openGL program
protip OP, never ask the text boards for anything. constant isolation has turned them into the snoobiest pricks on the site. the fact they almost never know what they're talking about is also a bad thing.