News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

compiler not using project file???

Started by bing, March 31, 2022, 01:21:57 AM

Previous topic - Next topic

bing

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.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]