replace delimiter for new line

C++
Just use tr command as follow:
tr , '\n' < file	#Replaces all ',' matches for a new line
Source

Also in C++: