Author Topic: Header File help needed  (Read 1011 times)

Offline papagym

  • Multiple posting newcomer
  • *
  • Posts: 41
Header File help needed
« on: July 01, 2016, 04:20:11 pm »
I'm new to CB 16.01, C++ and I have some code that I want to make a simple header file with.  Do I need to use any special main menus (file category) to do this?
I tried using a New Empty File and the Editor but the file name gets a suffix added to it when I save it. I want add.h but it comes out add.h.c or add.h.cpp.

There has to be a simple way to do this,  I just need some help.

How do I go about doing this?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2569
Re: Header File help needed
« Reply #1 on: July 01, 2016, 04:51:28 pm »
File->New->Empty File->Yes-> Enter "Add.h" in the name field -> save

Offline papagym

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: Header File help needed
« Reply #2 on: July 01, 2016, 05:08:02 pm »
Thanks BlueHazzard that worked.
I have no idea why it didn't work before.
Can you please make this as solved for me. I have no idea if you can do that on this forum.