made changes in cpp,c# generator