Naming Conventions


This is a pretty easy question. It relates more to source/header naming conventions than variable and function naming. I was getting back into C++ and many of my functions so far deal with WinAPI and OpenGL. I've created some functions like InitWindow(HINSTNACE&,HWND&,int,int) and I've stored those functions in files named "window.h" and "window.cpp." I've done likewise with OpenGL. However, I'm not sure that this is the best way to name files since the names are very similar to those of the actual libraries. What do you think the best way to name these files are?

It doesn't really matter, so long as your toolchain can tell them apart.

"window" is not an uncommon filename in frameworks.
Topic archived. No new replies allowed.