GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: Add Line Numbers


A Paste by luke
// test.h
#ifndef TEST_H_INCLUDED_
#define TEST_H_INCLUDED_

static const char array[] = {'a', 'b', 'c'};

#endif




// main.cpp
#include <iostream>
#include "test.h"

int main()
{

        std::cout << array << std::endl;

        return 0;
}