fixed c.cpp