How can I make header file in c++?

Im new in using repl. I want to seperate main.cpp and main.h. But when i make new file and create its name, there is no option of naming the file “.h” Please help…

Hi @jiho9964 , welcome to the forums!
You can simply create the header file by entering main.h when prompted.
Hope this helps!