Make a .h file

I created a header file using arduino, and am trying to figure out how to compress it down so that it is in the proper format. For example, if you look at a library .h file the line breaks don't actually create a new line, but if you copy the .h file and paste it into the arduino IDE it will break the lines accordingly. If you copy from the arduino IDE and paste back into the .h file though the line breaks are the same as the arduino's IDE, and the program will not work.

How do I create the proper format for the .h file?

How do I create the proper format for the .h file?

The line break depends on the operating system. Windows uses a carriage return and a line feed. Other (smarter) systems make do with just one.

Neither is better. The line break is simply white space that the compiler ignores.

How do I create the proper format for the .h file?

I use Notepad++ on Windows, but most text editors will do what you need.