Thread: Question about memorizing thousands of API func calls

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    100

    Question about memorizing thousands of API func calls

    I'm wondering about memorizing API function calls (such as Win32 API) for making windows is an ethical thing to do. I don't believe it to, as I can have a book and source in front of me, and so long as I understand how to manipulate the code, I should be fine, right?

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    Don't try to memorize the entire API. However, even if you have a map to show you which way to go it makes your life easier if you pay attention along the way and memorize common roads/turns/etc., much of which comes with repitition. Same with use of an API
    You're only born perfect.

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Agree with elad. Being ethical has nothing to do with it. Practically, vew few people will be able to perfectly remember all the details of a largish API, such as win32 --- the human mind isn't designed for storing lots of data perfectly. It is a good idea to grasp a few basics of an API you use regularly (eg nomenclature used in help files, the names of functions used to do thigns you often do), and then know where to find the information you need (eg the help files, a good reference book, etc etc)

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    I'm wondering about memorizing API function calls (such as Win32 API) for making windows is an ethical thing to do.
    No, it's a waste of time and what I would call personal brain space. All you need is a single word to look up what you need in your helpfile. You will memorize the calls you need often anyway and if you don't need them that often, looking it up in a helpfile is perfectly acceptable.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    I've been doing C for 15 years now, and I haven't even bothered to memorise the precedence table. Sure I know what all the operators are and roughly what the precedence is, but to list them all in precedence order right first time would be a bit tricky.

    Being able to memorise a pack of cards doesn't make you a good poker player.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  6. #6
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    Quote Originally Posted by Salem
    Being able to memorise a pack of cards doesn't make you a good poker player.
    ...but, memorizing the distinct marks you put on the back of the cards will win you a lot of money in poker
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. quick question on windows API
    By Leeman_s in forum Windows Programming
    Replies: 8
    Last Post: 11-04-2002, 03:02 AM
  2. a question on a few of the API functions
    By Leeman_s in forum Windows Programming
    Replies: 1
    Last Post: 11-03-2002, 11:20 PM
  3. Dialog question w/ win32 API
    By Dalren in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2002, 06:54 PM
  4. what does this warningmean???
    By kreyes in forum C Programming
    Replies: 5
    Last Post: 03-04-2002, 07:53 AM
  5. API Question
    By Troll_King in forum Linux Programming
    Replies: 11
    Last Post: 02-21-2002, 09:18 AM