https://www.youtube.com/results?search_query=debug+a+crash+in+codeblocks
wtf do you expect to happen in this line???
pizza pie = {pie.compname, pie.diameter, pie.weight};
note: i won't answer any c/c++ related question future, because it is against the rules of this forum...
greetings