Like Tree1Likes
  • 1 Post By whiteflags

putting it all together

This is a discussion on putting it all together within the C++ Programming forums, part of the General Programming Boards category; So I know the basics of C++ as well as a few others, don't worry bout those now. My problem ...

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    72

    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?

  2. #2
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    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.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  3. #3
    Registered User
    Join Date
    Sep 2011
    Posts
    72
    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.

  4. #4
    Registered User
    Join Date
    Aug 2011
    Location
    Montreal, Quebec, Canada
    Posts
    73
    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.

  5. #5
    Registered User
    Join Date
    Sep 2011
    Posts
    72
    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.

  6. #6
    Registered User
    Join Date
    Aug 2011
    Location
    Montreal, Quebec, Canada
    Posts
    73
    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.

  7. #7
    Registered User
    Join Date
    Sep 2011
    Posts
    72
    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

  8. #8
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,522
    Quote Originally Posted by Shawn Belcher View Post
    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.
    AndrewHunter likes this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Putting together programs
    By Duckzilla in forum C Programming
    Replies: 6
    Last Post: 12-04-2007, 11:43 PM
  2. putting in an AGP slot
    By Xterria in forum Tech Board
    Replies: 6
    Last Post: 07-14-2004, 06:08 PM
  3. Putting a DialogBox into a DLL?
    By xds4lx in forum Windows Programming
    Replies: 1
    Last Post: 11-16-2002, 11:59 PM
  4. Putting a Pixel
    By moonwalker in forum Game Programming
    Replies: 10
    Last Post: 07-22-2002, 10:37 PM
  5. putting a pause in?
    By DocDroopy in forum C Programming
    Replies: 4
    Last Post: 07-21-2002, 02:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21