That program will never compile in any of the two languages (c or c++) if only because you are not including the correct headers. You should really learn to compile code as you write it rather than...