This is my code
P,L,T,A are doubles how can I get a_file to write doubles in to a fileCode:String="("+(std::string)P+"*"+(std::string)L+")"+" ^ "+(std::string)T+" /4= "+(std::string)A+"\n"; a_file<<String;
I tried without the (std::string) and I tried just doin
I just don't know what to doCode:a_file<<"("<<P<<"*"<<L<<")"<<" ^ "<<T<<" /4= "<<A<<"\n";
I also tried
Code:String="("+P+"*"+L+")"+" ^ "+T+" /4= "+A+"\n"; a_file<<String;