+ 1
I can't understand a difine function in preprocessor and how using it.
I know that follow names are symbols: _declspec and dllexport then what does foo() function do? ================================== #define VB_EXPORT _declspec(dllexport) //.... code lines .... // VB_EXPORT int *foo (void) ; class A { public: A( ) { ptr = foo() ;} private: void *ptr; } ; void * foo (void) { return NULL; }
3 Antworten
+ 2
it's complicated for me but I try for it. thanks body.