摘要: 1.若将数组作为形参使用,则可以将数组名作为指针变量来处理: int fun(int a[10])int fun(int *a)int fun(int a[])2.指针中的互逆运算符和等价运算符: * 与 & 互逆 * 与 [] 等价 & 与 [] 互逆3. * 运算符和 & 运算符: 优... 阅读全文
posted @ 2014-08-04 15:46 ywb@program 阅读(176) 评论(0) 推荐(0)
摘要: # _*_ coding:utf-8 _*_from naoqi import ALProxyIP = "192.168.2.217"PORT = 9559robot = ALProxy("ALTextToSpeech",IP,PORT)robot.setLanguage("Chinese")rob... 阅读全文
posted @ 2014-05-28 16:13 ywb@program 阅读(256) 评论(0) 推荐(0)
摘要: Upload the script on the robot, for instance to:/home/nao/reacting_to_events.py,then edit the:/home/nao/naoqi/preferences/autoload.inifile to have:[py... 阅读全文
posted @ 2014-05-28 15:37 ywb@program 阅读(475) 评论(0) 推荐(0)