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

bing

  • Guest
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.

Online stahta01

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