For declaring variables through the function, it is correct in c++. it is in c that you cant do it i think. I might be mistaken though.
Type: Posts; User: borland_man
For declaring variables through the function, it is correct in c++. it is in c that you cant do it i think. I might be mistaken though.
Yup, got it. It reduces my errors, but I still have those:
input.obj : error LNK2005: "struct IDirectInput8A * DI8" (?DI8@@3PAUIDirectInput8A@@A) already defined in enigma.obj
input.obj : error...
Yup, sorry, forgot that rule. ok, here is a header file. it doesnt seem there is actual cpp code in it, i dont know...
////////////////////////////////////////////////////////////////////////////...
Helpp please!! buaa... :(
There is no actual code in my headers, I Just declare some structures:
LPDIRECT3D8 d3d8;
etc
nothing more, and some variables.
It still wont work!
I tried this, it wont work. here are the errors that it shows me:
input.obj : error LNK2005: "struct IDirect3DDevice8 * device8" (?device8@@3PAUIDirect3DDevice8@@A) already defined in enigma.obj...
I have 2 header files, and 2 cpp files. ohh, and one stdafx.h file.
My problem is, I have several variables in the one header file, that I need to access them from the second cpp file. but the...
Im making a dll in vc++ 6, and Im using a class to export, and several other functions, for use inside the dll. The problem is, that Im starting to hate vc! All of a sudden, when I try to compile (it...
still no reply... cant someone? :(
Why not borland c++ 5? it is as powerful as visual c++, and it can create GUI very easily. tell me some disadvantages of BC++, cause I want to choose too.
Thanks
I am using Borland c++Builder 5, and I have a problem making a dll which has an exported class...
The DLL compiles ok, but when I try to load it from a client app, it says that "VCL type class has...