putting it all together
So I know the basics of C++ as well as a few others, don't worry bout those now.
My problem is I can't seem to put it to use, or rather I can't make my "own" codes
I can tell you what dose what but I cant figure out how to make a "game" where it gives you hints to a number or something like that, or even make a caulator with out them showing me how.
Nothing I've seen online speaks about how you learn to make your own things with it, is that something that can be taught or is it something that just comes?
Since someone is probely going to ask, I'm a visual learner, and not book tpye either, I phsicaly need to see it to understand something .
Pitcures in books do help me how ever, so they are not totaly useless to me, in fact thats how I started but it really was slow, then I had someone "show me" the things on a chralk board it made sense then and here I am now he says he cant show me how to write my own codes, and I understand that, if he shows me a code then its not mine.
So my question is, how do I learn to make them all go together?
is it somehting that should alredy be there and I just missed a step?
That is why those books you do not like have example code and problems to complete in them. You need to go through the books, page by page, do all the problems they have working out all the solutions for yourself. Practice, practice, practice.
Whoa, I did not say I hate books, I love books. just not for learning things.
I play Piano and Guitar, spent 100$ on the best books they did nothign for me, not cause they where bad, I'm just not able to learn anywhere near as fast form reading or being told.
I need to physicaly see it being done, or have a step by step pitcures
Give me a world problem and I will be stupmed, give me the world problem showing me the numbers and I can figure it out its just how my brain works.
You may want to consider a book on code design.
I personally have never read one but I'm pretty sure it would help. For now what you may want to start to do is figure out the big picture of the program you are trying to make. First would be to understand what are the "physical components" needed (graphical support, sound, input devices) and what are the "logical components" (game engine, game logic, AI...) and then understand how they are related. These items should be as independent as possible so that changes to one functional unit / component does not affect the others. For example, I see no reason why the module charged with processing visual display should know what song/sounds are played in the background of the game. If environment affects sounds then it would be related to a central module in charge with managing all other components in relation to what it knows.
For a simple text-based game most of that would be absent. You would have a module charged with game cycles, another for game logic and another for I/O to the console.
That's how I see it anyway. You may want to learn to draw flowcharts.
Edit: By the way from experience guitar books suck. Get a musical theory book and then apply it on your guitar. Once you know that the starting notes are EBGDAE a guitar book will not teach you much.
Well man I'm now bout to go for a majoir in music and have a runing for scholarship in music, your 6 years late with that ;) but music theroy books did not help either, I just cant learn very well form books unless they are pitucre by pitcure, to learn I drew the circles of 5ths and what not.
Anyways the flow chart sounds nice.... hmmm I will have to try that.
Well learning the circle of fifths is indeed much simpler when actually drawing it as a circle :P Besides, music theory is most of the time drawn on staves unless you get into very complicated stuff and in the worst case you can just buy a keyboard and play the notes on your keyboard as you read the examples to help you.
So I took the advice and I got another book, its old, like really old, like its about as old as me. As of now this is all I can affordd, I have no job, nor can I get a job anytime soon, nor is it my fault there are just no jobs and even then no one will take me. Nor do I get allowancee so please don't say buy a differentt book, its just not possiblee right now or anywhere in the near future.
The godd news is that its one of the most recomeond ones on the c++ book thread,
Sams teach yourself C++ in 21 days, but its the older one we are talking 1995-1994
this guy is saying its prdicted that c++ will be on "top" the next decade (which scary enough is almost over)
So I'm working on it but its really not compatable with any of the complies I've used, if it was not for working on them before and know the work arounds I would not be able to get anything done.
Another thing is I know this stuff, I think pepole here are not getting the pitcure, I can tell you what each thing dose but my mind can not come up with ways to add them to make soemthing
If you can get your hands on any course materials, such as those from a college, you should attempt the assignments. Or stick around here and attempt people's homework. (Although, I encourage you not to hand out answers.) School work is always a good way to force yourself to do something, and all assignments incorporate the lessons, so it's a great way to learn how to actually program, which is the knowledge you are missing now.
Originally Posted by Shawn Belcher