sed tab to space

C++
sed 's/\t/ /g' filename
Source

Also in C++: