初学者:AVR C ++ Atmel Studio 6 [英] Beginner: AVR C++ Atmel Studio 6

查看:131
本文介绍了初学者:AVR C ++ Atmel Studio 6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在解决我可以访问哪些库时遇到问题.我知道我可以使用Atmel Studio 6 IDE在C ++中对微控制器(Atmega328p)进行编程.但是,我无法确定在哪里可以找到我可以访问的库.例如,我可以使用STL(例如矢量,双端队列...)吗?如果有人可以指出一些文档,那就太好了.

I'm having an issue working out what libraries I have access to. I understand that I can use the Atmel Studio 6 IDE to program the microcontroler (Atmega328p) in C++; however, I can't work out where it is documented what libraries I have access to. For example, can I use the STL (so like, vectors, deques...)? If someone could point me towards some documentation, that'd be great.

谢谢.

推荐答案

Atmel Studio 6没有附带STL实现. avr-gcc附带了一些库-请查看:

Atmel Studio 6 doesn't come with an implementation of STL. There are some libraries that avr-gcc comes with--look in:

C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.1002\avr8-gnu-toolchain\avr\include\

不包含<vector><deques>,但确实具有<string>.尽管有 许多STL实现移植到了Atmel Studio:看看:

That does not contain <vector> or <deques>, but it does have <string>. There are lots of STL implementations ported over to Atmel Studio though: take a look at:

http://www.gammon.com.au/forum/?id= 11119

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆