Author Topic: Traditional 'C'  (Read 2456 times)

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1955
Re: Traditional 'C'
« Reply #15 on: November 11, 2026, 05:13:40 pm »
Do not send screen captures, just attach the files.

Offline KenWhight

  • Multiple posting newcomer
  • *
  • Posts: 11
    • Ken Whight's Amateur Astronomy Site
Re: Traditional 'C'
« Reply #16 on: November 11, 2026, 06:42:37 pm »
Here's the code

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1955
Re: Traditional 'C'
« Reply #17 on: November 11, 2026, 07:42:39 pm »
The code compiled OK out of the box, so it must be a problem with the .cbp file you did not post.

I have reformatted the code a little (added guards, reordered struct declarations and declared square_matrix_create() in the .h). The .cbp file is included, so you can open it and compile.

Offline KenWhight

  • Multiple posting newcomer
  • *
  • Posts: 11
    • Ken Whight's Amateur Astronomy Site
Re: Traditional 'C'
« Reply #18 on: November 11, 2026, 09:00:23 pm »
Here's the .cbp file. It was created by the Console Application Wizard, I don't recall any options in the creation process. So am confused as to why it doesn't work.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1955
Re: Traditional 'C'
« Reply #19 on: Yesterday at 11:27:42 am »
I do not see relevant differences, apart from filename case.

Did you try to compile my project?

Offline KenWhight

  • Multiple posting newcomer
  • *
  • Posts: 11
    • Ken Whight's Amateur Astronomy Site
Re: Traditional 'C'
« Reply #20 on: Yesterday at 07:36:19 pm »
I changed the upper case filenames to lower case and IT ALL WORKS! Thanks for your help CodeBlocks is much better than Visual C++, it's easier to set up a simple console project. I'm very happy with the change.
Ken