void Stock::acquire(const std::string & co,long n,double pr){ company=co; if(n<0){ std::cout<<"...\n"; share=0; } else shares=n share_val=pr; set_tot(); }