+ 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; }

7th Apr 2019, 12:10 PM
Alireza Abbasi
Alireza Abbasi - avatar
3 odpowiedzi
+ 2
it's complicated for me but I try for it. thanks body.
7th Apr 2019, 1:02 PM
Alireza Abbasi
Alireza Abbasi - avatar