As I dont found myself familiar with the code of Librecad. So Inder suggested  me to study the features and code of C++ used in Librecad. So today I learned about Few features of C++ like templates, macros ( ifndef, endif), bool etc. I also got to know one thing more i.e name of “#”. # is known as preprocessor directive 😛