Thread: external variables

  1. #1
    Registered User
    Join Date
    Jan 2008

    external variables

    extern "C" GLuint texturas[4];

    this declaration is right? since exists another classe with a variable called texturas right?

  2. #2
    Join Date
    Oct 2007
    Inside my computer
    Yes. The actual variable must be defined elsewhere.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Replies: 15
    Last Post: 09-30-2008, 02:12 AM
  3. Overloaded Operator Causes Unresolved External Symbol
    By mikeman118 in forum C++ Programming
    Replies: 11
    Last Post: 03-03-2008, 04:40 PM
  4. Declaring an variable number of variables
    By Decrypt in forum C++ Programming
    Replies: 8
    Last Post: 02-27-2005, 04:46 PM
  5. external variables
    By schlamniel in forum C Programming
    Replies: 1
    Last Post: 11-02-2002, 05:40 AM