Thread: SDL extension

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    How about explicitly stating in the documentation that a specific initialization function shall be called or an object must be created before doing anything else with SDL?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #2
    Bored Programmer
    Join Date
    Jul 2009
    Location
    Tomball, TX
    Posts
    428
    Quote Originally Posted by Elysia View Post
    How about explicitly stating in the documentation that a specific initialization function shall be called or an object must be created before doing anything else with SDL?
    Honestly I never noticed that. Even worse example 1.1 in the documentation shows

    Code:
    int main()
    as far as my question I genuinely wanted to know if there is a better cross-platform library for this.
    Virtual reality hello world http://www.rodneybrothers.com/vr/vrh...rld/index.html in html and javascript.
    Viewable with dodocase, google cardboard, OR, and other compatible VR gear.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. what an nbs extension???
    By kreyes in forum C Programming
    Replies: 3
    Last Post: 07-01-2010, 09:12 AM
  2. .ef file extension
    By xddxogm3 in forum Tech Board
    Replies: 8
    Last Post: 02-08-2006, 06:20 AM
  3. Help with PHP extension compilation
    By SkinneyEd in forum C++ Programming
    Replies: 1
    Last Post: 01-10-2006, 04:08 PM
  4. Language extension
    By Prelude in forum Contests Board
    Replies: 48
    Last Post: 06-25-2004, 06:21 AM
  5. include's extension
    By whackaxe in forum C++ Programming
    Replies: 4
    Last Post: 04-18-2004, 06:02 PM