Results 1 to 5 of 5

Thread: how to code..

  1. #1
    Guest

    how to code..

    Hi.. can any one tell where should i code the program in win32.An empty project.A simple win32 project or typical hello world application.

  2. #2
    Member Newbie
    Join Date
    Aug 2002
    Posts
    42

    Re: how to code..

    If you need to ask this question, perhaps you aren't prepared for OpenGL programming yet.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: how to code..

    First the setup will depend on the compiler you are using.
    For some programs an empty project, like if you are going to use glut.
    While others you may want a windows application.

    You need to tell us the compiler yor are using? (Microsoft, borland, etc.)

    Also the version of the compiler(4,5,etc)?

    Originally posted by Jehangir:
    Hi.. can any one tell where should i code the program in win32.An empty project.A simple win32 project or typical hello world application.

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: how to code..

    He's most likely using VC++. The three options he listed are options that are availble when creating a Win32 Application.

    As to the question, all of them provide a bit different level of code. One of them you have to provide all the code yourself, one of them gives you a starting WinMain, and one of them go so far as to create a window that says "Hello World."

    Which one of those you use is all up to you to decide how much you want the Appwizard to generate for you.

    Now... if you want to do something like a Glut app, you made the wrong selection already. You need to choose Win32 Console Application, not Win32 Application.

    Anyway, it sounds like you aren't too familiar with programming in general yet. I would recommend getting a good book on Win32 programming if you plan on going down the route of using the Win32 Application wizard. Until you understand that, don't worry about how OpenGL works, or you will just give yourself a headache trying to learn both.
    Deiussum
    Software Engineer and OpenGL enthusiast

  5. #5
    Junior Member Newbie
    Join Date
    Aug 2002
    Posts
    25

    Re: how to code..

    try nehe productions. they have some basic stuff there. I don't have the address right off hand sorry. search in google.com

Similar Threads

  1. Replies: 10
    Last Post: 05-24-2017, 07:31 PM
  2. Mandelbrot: Convert CUDA code to OpenCL code
    By humble_programmer in forum OpenCL
    Replies: 2
    Last Post: 05-24-2016, 07:48 AM
  3. Replies: 1
    Last Post: 12-06-2010, 10:39 AM
  4. help with this code (soz other psot not contain code)
    By Mylu in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 11-17-2003, 09:36 AM
  5. converting glut code to plain windows ogl code
    By TheLastMohican in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-10-2003, 09:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean