so i assume that it is not necessary to have it included.
But should i want to use setprecision(*), do i have to include the setiosflag(io::fixed | ios::showpoint.
Type: Posts; User: rogerlpe
so i assume that it is not necessary to have it included.
But should i want to use setprecision(*), do i have to include the setiosflag(io::fixed | ios::showpoint.
Can someone throw some light on this line of code ...
setiosflag (ios::fixed | ios::showpoint)
and
setprecision(4)
I understand that C++ requires both a .h and a .cpp file.
.h file is for declaration while .cpp is where we insert all our functions.
I have written a .h file but is unable to compile using...