if line is read from a file and is,
string line = "weather,is,cold";

how to replace word "cold" with "hot" and write it back to same line
in same file?. ->"weather,is,hot";

using seekp()??