Questions tagged as 'extern'

2
answers

Why use extern?

According to what I researched , the reserved word extern in C is used to inform that the declared variable is somewhere else in the program. A variable extern is useful for saving memory, because extern variables, although...
asked by 05.04.2017 / 10:52
1
answer

passing a struct using extern C in a .dll c ++

I have a function that comes from a .lib that returns me a struct tabela GSTV(vector<double> inpA, vector<double> inpB); This struct is defined as follows: struct tabela { vector<int> Z; vector<double> F;...
asked by 03.04.2018 / 02:57