propper gitignore for c, c++, qt
added all necessary methods to the header file