This question is bothered me alot. how i can use libraries in visual c++ 2012
i got alglib library http://www.alglib.net/ for example please i need an explanation step by step how i can put this functions into use
Just put all the includes and cpp files that are part of alglib in the same folder as the rest of your code. You might could put them in a folder of their own, but I did not try that. The example below is what I did with just copying ap.h, ap.cpp, and stdafx.h into the same directory as main.cpp. Then I just compiled them as seperate object files and linked the two together.
1 2 3 4 5 6 7 8 9 10
int main(int argc, char **argv)
std::cout << "alglib::randomreal() - returns random real number from [0,1)"
<< std::endl << alglib::randomreal() << std::endl;