who knows how to make a new library in c++(a file contains a few functions with .obj suffix has been added to *.lib file) and how to connect this library to main file using project's menu?
Each linker is a little bit different. You were using AVR gcc for Studio4 before, so I assume you still are. Hope this helps. avr-libc: How to Build a Library