Ok I'm going to start this over... I wanted to know, what programs I need to copy pretty much line for line a game made with either c or c++ and make it so it is playable on tablets and such. So I guess it would have to be cross-platform. Its a 2d game that tricks the eyes into a 3dish effect, it has grid based map with coords like x,y. It is a pc game so I am going to need to mess with the ui to make it compatible with touchscreen technology. I have all the files I need for the game I just have to some how open the files and get to the code? I don't know any takers? Please thanks.
closed as not constructive by Trevor Powell, Jari Komppa, Josh Petrie, Noctrine♦ Mar 8 '12 at 17:21
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
creating a game using copy-paste is possible. but I'm not saying it's an easy task! I've already made so many C++ applications/libraries using that method but it's just a pain. first of all you need to understand what the code is doing, then you need to figure out how can you attach it to your code, and finally somehow change that code to be able to work with other pieces of code you copied from other places. personally I think this method is good only for people with a great programming experience. so please don't do such a thing.
if you want to learn developing a game, you can download one of the open source currently available project and start playing with their code. first try to make small changes. for example try to make their code crash, for the first step. or later you can try to make it skip the main menu.
after 2-3 projects you can almost understand what is written when you open a new project, so you can use it's code, change it and make it do what you want.
for started you can take a look at supertux1.3 code. beside internet is always a good friend whenever you find something really strange, google it. you might even be able to learn what is that thing doing.
(hope I've answered all your questions since it's really hard to tell what you are asking)