As a math/econ student i spent most of last year making some pretty neat c++ programs, i mean we did stuff to matrixes wich is illegal in most of the states!
Now i need to implement a simple code to generate random numbers and i am stock, well i do know how to do it but i want to do it another(cooler) way.
I got my hands on ran3 from nummerical recipes but i cant seem to implement it, it is written in a totally different way than what i was taught and i am having problems with some of the libraries even!
any help would be greatly appreciated.
how do i get this to work:
#include "nr.h"
and what does:
using namespace std;
do ?
i am sorry if these seem like triviel questions :)
In the book I'm sure there is source code for nr.h so you go to your solution explorer and add new item into header files as a header file then copy the source of nr.h into that file and you will get it to link. Thats if your using visual studo