i have a problem which is i want to call function in different .cpp file.i create .h file. in main function, i include xxx.h as header file.in xxx.h i list down all the functios inside the file with extern.than in xxx.cpp i declare variable like dis e.g extern int selection; but i have an error which is unresolved external 'function called' referenced from 'main function file path'.
anyone has an idea about that????
thanks a lot