Archived

This topic is now archived and is closed to further replies.

computer_guy222

Newbie book question

Recommended Posts

Howdy, I am a person who has had past experiences with Java, and switched to C++. I am currently learning DirectX from LaMothes book tricks of the windows game programing gurus. How do you learn new things? When you learn something new, do you keep drilling it into your mind & memorize it, or just briefly glance at it and keep it in your mind, but have to go back and look at it. I dunno which is the best... ne feedback? [edited by - computer_guy222 on May 28, 2003 10:50:34 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I read all the sample code I can get my hands on, then figure out what I need to write to prove to myself I understand it.

Then I write that something, referring back mostly to reference documentation to look up details (order of arguments, spelling of function names, that kind of thing).

Compile, link, pass unit test, pass functional test, done.

Next!

Share this post


Link to post
Share on other sites
I try to write as much as I can without looking at anything...If it is a small chunk of code I will even compile and see if I can figure out the errors on my own...But if I start struggling at all I look it up so I get it right. One day that stupid function you had to look up all the time you get on your own without looking it up. That is how I do it.

Also I usually read and think it out or take some notes or write a few simple lines of code, and then actually sit down at the computer. I usually don''t do both at the same time. It seems to work for me

Share this post


Link to post
Share on other sites
quote:
Original post by yoda5
Also I usually read and think it out or take some notes or write a few simple lines of code, and then actually sit down at the computer. I usually don''t do both at the same time. It seems to work for me


I also do it that way. First reading and trying to understand the examples in the book. If I don''t understand an example, I type it over and most of the times, then I understand it.


Share this post


Link to post
Share on other sites
I just started learning C++ about a week ago and the most confusing thing that I have done so far is using boolean variables to compare things.

The only thing I can do right now is make the console display text, display and find the answers to simple math problems, use variables for math problems, store characters and strings into variables and display them, and make it where the use can input text/numbers/other characters and store it for use later, and that''s about it.

The coolest thing that I have done with C++ on my own was making a simple little thing in the console where I would ask the user certain information and store it and then use it later in a string.
Example:
Hello, what is your name?
Marc
Marc? That''s a terrible name!
What about your favorite number? What is it?
....
....

I found this pretty interesting.

All of this stuff was just to give you an idea of how much experience I have in programing (which is very little).

The first thing I do is to find a comfortable chair or couch and read through the chapter just to get a feel for what I''ll be learning. After I have read the chapter I go sit in my (less comfortable) computer chair and go through the chapter again, this time trying to absorb every little bit of info and doing every exercise in the chapter. After I get through the chapter I go back to the things in the chapter that I had a tough time with or things that were a little bit confusing. After that I go through the chapter one more time. After that I try to make a simple program incorporating everything that I learned from the chapter.

This is working for me now. I may have to change my method after things get a bit harder, though.

Share this post


Link to post
Share on other sites