I've just figured out that seeding generator should be done once - e.g. in main function. Function like this:
int getRand(){
    srand ( time(NULL) );
    cout<<((double) rand() / (RAND_MAX))<<" ";
}
calling in main:
int main(){ 
    cout<<getlvl()<<" "<<getlvl()<<" "<<getlvl()<<" "<<getlvl();    
    return 0;
}
gives me the same output all the time. Why srand should be calling only once to work correctly?
 
    