nullspace
12-22-2001, 08:00 AM
Hello (NB i'm french !)
Yes, firt i have heard that Opengl was going to be replaced by D3D or something like that !
Is that right????????!!!!!!!!!!!
I hope no because i hate D3D.
Next, when i want to create multiple CPP files for my OpenGL prog, it don't work.
Error : "one or more multiply defined symbols found"
I have 3 Files :
file1.cpp
file2.cpp
module.h
In file1.cpp i have :
#include "module.h"
#include "file2.cpp"
...
In file2 i have :
#include "module.h"
...
In module.h i have :
#ifndef module_h
#define module_h
#include <iostream.h>
#include <math.h>
#endif
How can i make that??
Thanks.
Yes, firt i have heard that Opengl was going to be replaced by D3D or something like that !
Is that right????????!!!!!!!!!!!
I hope no because i hate D3D.
Next, when i want to create multiple CPP files for my OpenGL prog, it don't work.
Error : "one or more multiply defined symbols found"
I have 3 Files :
file1.cpp
file2.cpp
module.h
In file1.cpp i have :
#include "module.h"
#include "file2.cpp"
...
In file2 i have :
#include "module.h"
...
In module.h i have :
#ifndef module_h
#define module_h
#include <iostream.h>
#include <math.h>
#endif
How can i make that??
Thanks.