Author Topic: compiler not using project file???  (Read 1075 times)

Offline bing

  • Single posting newcomer
  • *
  • Posts: 1
compiler not using project file???
« 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7334
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org