compiling through command promt generally people use cc followed by ur .c file name,i think more practice is needed for u