News:

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

Main Menu

Header File help needed

Started by papagym, July 01, 2016, 04:20:11 PM

Previous topic - Next topic

papagym

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?

BlueHazzard

File->New->Empty File->Yes-> Enter "Add.h" in the name field -> save

papagym

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.