Before I start windows programming

This is a discussion on Before I start windows programming within the C++ Programming forums, part of the General Programming Boards category; Before I start windows programming, what things should I have a firm grasp on in c++?...

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    Before I start windows programming

    Before I start windows programming, what things should I have a firm grasp on in c++?

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    85
    my opinion is that you should probably stick with dos programming for a while. i'm also a beginner in programming, but i have seen some windows stuff, and i think you would need to know more about classes and data structures, stacks, heaps, trees, etc. Just becuase you have learned input/output if/else statements, loops, does not mean that there's nothing else you can do or learn in dos.

    but hey, if you really want to learn windows programming, then go for it, thats just my advice to you.

  3. #3
    Registered User ivandn's Avatar
    Join Date
    Oct 2001
    Posts
    49
    Actually if you want to use MFC and the given wizards you should know classes inheritance polymorphism virtual functions and of course POINTERS.

    if you know these you should be able to get started
    Ivan

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    155
    Windows programming can be done from several different approaches. You could use the bare Windows API which is actually in C and doesn't use classes or inheritance (at least not in Petzold's book which just about everybody says is the gold stantdard) (although I do have a reference to a pretty reasonable Windows API tutorial that uses C++ using classes to encapsulate the various features of the basic API). You can also use an object library like MFC (the basis for VC++) or VCL (the basis for BCB) or you can use a language other than C/C++ to make Windows programs, like Visual Basic or Java.

    My point is you can start writing Windows programs at any time, with or with knowledge of classes, polymorphism or whatever. However, if you are going to use MFC or VCL to make your life easier, then you should have a good grasp of the object oriented features of C++.

  5. #5
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    guest is correct. While you are learning windows programming, learn more C++ at the same time. You have no use for all that polymorphism crap until you are making full featured applications/games. By then you will already know it if you are learning both at the same time. I, myself, have never needed to use everything about Object Oriented Programming. Structs are really it, not classes.

  6. #6
    Registered User
    Join Date
    Dec 2003
    Posts
    167
    Guest,

    Can you post the link to the api tutorial that uses classes to encapsulate the windows api?
    silk.odyssey

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 09:35 AM
  2. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 02:30 PM
  3. LoadFromFile() causes Windows 98 to freeze?
    By MidnightlyCoder in forum Windows Programming
    Replies: 8
    Last Post: 03-17-2006, 02:23 PM
  4. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 12:14 PM
  5. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 09:39 AM

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