When i create a c program in codeblocks .exe and .o files automatically generated, i remember there is an option or setting to stop these two files from generating when we save