Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Beginning OpenGL Game programming Second Edition- Luke Benstead

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2012
    Location
    London
    Posts
    1

    Beginning OpenGL Game programming Second Edition- Luke Benstead

    Hi there,

    I do apologise if there is already a thread on this.
    I'm having to start of OpenGL Programming, and I understand there are many here who also use this book.

    The tutorial prompts me to open up a file called simple.cpg.

    I however cannot open up the file in Microsoft Visual C programme.

    I'm not really sure how I get it up to load,.

    If anyone else is using this book and knows here to and how to start of I would really appreciate it.

    Sorry again for having to create a separate thread for this, I hope the moderators could excuse me, it's just I want to get started on OpenGl, and I appreciate this website that provide support for those who want to to crack on with programming.


  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    723
    I assume the " Microsoft Visual C programme" is visual studio. Just drag and drop the source file to the open application. Is simple.cpg a c/c++ source file? If it is, it can be renamed to simple.cpp.

    This only allows you to edit the program, not compile it. You will need to create a project to do that. Creating projects is out of the scope of this forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •