Learning a tutorial but memorizing a keep concept instead of understanding

Posted on 2014-08-24
Last Modified: 2014-08-28
I am doing self study on pointers using c language.
I am now learning 2d arrays


I think I am memorizing

Do you think I should just start the tutorials from the beginning?
Question by:rgb192
    LVL 31

    Accepted Solution

    Good to memorize valid facts to help you program. If you are interested in professional job in C projects, that will not get you very far. Writing perfect code is rare, so you have to debug. Debugging C programs requires clear understanding of how the code translates into the memory.

    I think you said your have this book:

    If so, you can skip the first chapter which gives an overview and go into the details with understanding. (But I don't remember whether the subsequent chapters refer in any way back to chapter 1; in which case, you will have to read at least parts of Chapter 1.)

    The hardest part of C, IMO, is pointers and multidimensional pointers.
    LVL 4

    Assisted Solution

    As a former C programming instructor who has led hundreds of students through the complexities of pointers, let me give you my advice: Draw pictures of the layout of memory. Use boxes for memory locations and arrows to indicate pointers. You don't have to be an artist to do this -- the crudest drawing will do -- but DO IT. Eventually, you will understand what the pointers mean and you won't have to simply memorize equivalences (although the one you gave is correct). This is essential when you start dealing with pointers to pointers (a common structure for implementing a multidimensional array). phoffric is absolutely right about the need to understand what's going on in the machine to debug your programs.

    Author Closing Comment

    okay pointers are difficult and I should start with basics of c instead of starting with c pointers.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Suggested Solutions

    Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
    An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
    The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
    Video by: Grant
    The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now