Thread: Q about Windows Programming in general

  1. #1
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472

    Q about Windows Programming in general

    Not sure if this has been asked before , but i'll ask anyway..

    I just started learning Win32 programming from TheForge's tutorial (i'm sick of the stupid ol' console) and i noticed something about it that i'd like to ask about :

    There's lots and i mean LOTS of things to memorize. Am i supposed to memorize them all or just copy\paste and make additions\modifications? Like there's a structure with around 8 members that stores info about the window you want to show ; memorizing all these stuff is too much.

    TheForge (author) says that i shouldn't care about memorizing stuff. But out of curiousity , for those who are experienced in Win32 programming , do you memorize all that Win32 code? i mean is it like coding console programs or you always keep a reference next to you?
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  2. #2
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    Quote Originally Posted by Brain Cell
    Not sure if this has been asked before , but i'll ask anyway..

    I just started learning Win32 programming from TheForge's tutorial (i'm sick of the stupid ol' console) and i noticed something about it that i'd like to ask about :

    There's lots and i mean LOTS of things to memorize. Am i supposed to memorize them all or just copy\paste and make additions\modifications? Like there's a structure with around 8 members that stores info about the window you want to show ; memorizing all these stuff is too much.

    TheForge (author) says that i shouldn't care about memorizing stuff. But out of curiousity , for those who are experienced in Win32 programming , do you memorize all that Win32 code? i mean is it like coding console programs or you always keep a reference next to you?
    I'm not experienced with the Windows API, but I can tell you that you'll eventually have the stuff memorized after you use it for a while. At first just memorize the function names and params that you use the most and go from there.

  3. #3
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    You can't program in WIN32 (MFC ect) without help (MSDN).

    Well I can't, after many years of trying..........

    I know the function names but still have to look up many functions (to see if they do what I want and their params).
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  4. #4
    Chief Code Coloniser!
    Join Date
    Apr 2005
    Posts
    121
    Hello,

    Using the Win32 API is the same as using languages in general when it comes to memorising. As already stated by homeyg, the more you use things, the more you'll remember.

    When you first start using the Win32 API you'll probably ask yourself "man, how am I going to remember all this rubbish!?"

    The reality of it is, you won't. You'll probably never remember all of it, but there's a good chance that the more you use it, the more you'll remember. At the end of the day, MSDN is generally always open on the same desktop as the coder when building Win32 apps!!

    Cheers!

  5. #5
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    I agree with the others. I have been programming the Win32 API since it first appeared and whilst I remember the names of the functions, and some of them in their entirity, I often find myself looking things up.

    Gone are the days when an individual could have the entire thing in their head. Things are just to complex now.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  6. #6
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    Thanks for replying homeyg , novacain , TheColonial and adrianxw


    Out of curiosity ; companies that make C++ GUI programs for Windows use the Win32 API , right?
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  7. #7
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    Quote Originally Posted by Brain Cell
    Out of curiosity ; companies that make C++ GUI programs for Windows use the Win32 API , right?
    If you mean programs that run on Windows and therefore use a Window of some sort, then yes they probably used the Win32 API.

  8. #8
    Chief Code Coloniser!
    Join Date
    Apr 2005
    Posts
    121
    Lots of people are now moving towards C# .NET for basic windows applications instead of having to deal with the Win32 API directly, and you do the same in managed C++.

    But from my experience, direct use of the API is far from dead

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  2. General question from a beginner to Windows C++ programming
    By Kontan in forum Windows Programming
    Replies: 1
    Last Post: 09-29-2006, 08:03 PM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM