Code::Blocks Forums

User forums => Help => Topic started by: bing on March 31, 2022, 01:21:57 am

Title: compiler not using project file???
Post by: bing on March 31, 2022, 01:21:57 am
Hi
Hope I explain this clearly.

I created a new C console app project. Cut and pasted code from the previous project and added a bunch of new code. The compiled program is using the old code!

In the file management I removed the new (and only) main.c file. On selecting 'run and build' CB still executing the old code. With no file attached to the project!

How do I get the compiler to recognize the project file with the new code? Thanks.
Title: Re: compiler not using project file???
Post by: stahta01 on March 31, 2022, 02:15:19 am
https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)