Thread: programming in Windows

  1. #1
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463

    programming in Windows

    What's the best thing for programming for Windows?
    How do people usually program for Windows using C?

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    You want to start programming using something called the win32 API. If you are using VC++ and like C++ you can also use something called Microsoft Foundation Class (MFC). Check out this link .

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231

    Re: programming in Windows

    >What's the best thing for programming for Windows?
    A computer.

    >How do people usually program for Windows using C?
    Sitting at a desk, hitting the keyboard every now and then.

    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    thanks Captain Obvious

  5. #5
    Registered User CAP's Avatar
    Join Date
    May 2002
    Posts
    179
    Thanks captain obvious
    I agree(*whispers*thanks for the clear up Hammer*/whisper*).

    I would like to know(and yes yes this is a C board)what is the best language to make say a game if you are the background programmer, not the graphics or that kind of stuff but the part that noone sees(I am also aware noone is to see the code)
    -Microsofts Visual C++ Introductory Kit-
    Current Projects: Learning Everything C.

    Everyone has a photographic memory, some people just don't have any film.
    ______________________________

    When was the last time you went for a colon cleansing? Because quite frankly, you're so backed up with crap that it's spilling out your mouth

  6. #6
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    For PC games I use c (eh c++ has its good points too), for video game consoles I usually use C with a little assembler here and there. It truly depends on what you are doing (like everything else in the universe).

  7. #7
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    There is no "best" language as such, however the industry standard at the moment still seems to be C, at least for the jobs I have gone for recently.

    I know of a number of companies that are releasing commercial games engines though that are written entirely in C++.

    It depends on the platform, I know that when the PS2 first came out it was hard to get a job with a dev company unless you had great assembly skills..
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

  8. #8
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    would it be worth trying to use C or C++ to make a 3d game engine? I'm assuming C wouldn't work, but would C++? I've wondered how the graphics engine interfaces code-wise with the rest of the game.

  9. #9
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    C would work and does work. Quake, Unreal Tournament - All written in C.

    You would use a graphics API of some description to handle the graphics side of things, either OpenGL or DirectX are the most common - both of these work with C very well (and C++).

    How the graphics engine interfaces? That is kinda complex and dependant on the project to some degree.. Check out this website. They have some great articles on exactly this kind of question.
    Last edited by foniks munkee; 07-15-2002 at 10:32 PM.
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

  10. #10
    Registered User CAP's Avatar
    Join Date
    May 2002
    Posts
    179
    Cool, C is starting to sound better and better, what a convincing place.
    -Microsofts Visual C++ Introductory Kit-
    Current Projects: Learning Everything C.

    Everyone has a photographic memory, some people just don't have any film.
    ______________________________

    When was the last time you went for a colon cleansing? Because quite frankly, you're so backed up with crap that it's spilling out your mouth

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 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