Cpp Pass String To Function In C