Hi, I have 2 cpp files, each one including the test.h header file.

my header file seems like this:

#ifndef TESTFILE
#define TESTFILE

int test;
char *hello;

#endif

The problem is that the linker says
'int test (?test@@3HA) already defined in test.obj'
'char *hello (?hello@@3HA) already defined in test.obj'

Ive tried pragma once, but the above, shouldnt fix the problem??
It doesnt..
Please help, thanks!