AVR Studio support only C project not C++. Alternate choice is Eclipse + AVR plugin and WINAVR can use both C C++