09 return reasonForID1;
11 return reasonForID2;
一个局部变量在函数调用后就被释放了,所以里面的内容会丢失的!!
char *errorReason = getErrorReason(errorID);这一句赋值很可能就得不到值了,最好是把reasonForID1和reasonForID2定义成全局变量
第二个问题在于pcArray的大小定义。Welcome Home看着是12个字符,但在机器里实际是13个字符,即Welcome Home\n,\n是字符串结束的标志!你吧13个字符复制给一个12个字符大小的字符串,当然不和逻辑了!
提到“狗不理”包子,大家可能要问,这“狗不理”到底怎么来的,现实中,狗这种动物真的不理人吗?
“狗不理”包子是天津的风味名点。然而,如此富有特色风味的地方小吃,怎么会取“狗不理”这么一个怪名称呢?
传说在清朝的时候,天津附近武清县杨村住着一个少年人,名唤高贵有,他从小性格倔犟,出了名的牛脾气,如果逆了他的性子,九头牛也拉不回来,任何人也不理。这一天,高贵有的牛脾气又发作了,父亲吓他不睬,母亲劝他不理,就是拧着脖子,一声不吭,母亲叹了口气,说道:“你这种牛脾气呀,真是个‘狗不理’啊!”意思是说他脾气坏得连狗也不愿搭理。“狗不理”的绰号,就这样传开了。
那么现实生活中,狗对人有的时候摇尾巴,表示友好,而有的时候又六亲不认的,这又是什么道理呢?这狗不理人到底怎么回事呢?
其实原因很简单,因为狗有个习惯,谁给吃的跟谁,谁对它好,它就对谁摇尾巴,我曾经做过如下实验,结果验证了我说的。
记得六月初,我收养了只小狗,当时这狗在那家养了几天,后来生病了,就送到了我家。本来它开始已经习惯那家人了,虽然很小,但对那家人还是有印象的,可等送到我家,将近一个月,它的病也好了,身体也康复了,那家人说要看看小狗怎么样了,结果发生了个意外,那就是小狗并不认识了它本来的主人,一点不友好,而且还不许原来的主人去碰它身体。可当它自己的主人突然从口袋里掏出片火腿肠,马上小狗眼睛就亮了,尾巴马上就摇了起来,小狗那意思,“我要吃!我要吃!”
另一个例子更现实的,我家的老狗今年有六岁了,刚来我家的时候对我那是相当友好,每天回来必定在门口等我回来,我一开门,就发现它已经在门口那了,其实就是为了讨好我而已,因为它总认为我给它买吃的了。最近几年,狗没这习惯了,我一回来,它依然在自己的窝里躺着,连看我一眼都不看,可当我说,“肉呢,肝呢?”它的眼神马上就亮了,肯定看我手里拿什么没有。还不明白吗,狗不理睬人,是因为它就是要吃的,别的都不重要,毕竟它只是动物而已。
大家明白了吗,其实狗理睬人与否的关键在人本身,因为狗有嫉恨的本事,也有记吃的本事,只要给它吃的,它就会对你表示友好。
这就是“狗不理睬人”之迷。
Mention "dog ignore" dumplings, we may have to ask : Is this the "dog ignored" in the end how to reality, the dog really ignore the animals people?
"Dog ignore" dumplings Tianjin is the flavor came about. However, such a distinctive flavor of local snacks, how would take "dog ignore" such a strange name?
It was the time of the Qing, Tianjin near Wuqing County Yangcun lived a young person, he did a noble, and he was dead stubborn personality, among its cattle temperament, if reverse his ruling, the nine cattle Yala and not come back, no one is Jimmy. On this day, some cattle noble temper the attack, the father threatened him aloof, the mother advised him to ignore, twisting neck, a spell, the mother sighed and said : "You cows temper it, really is' dog ignore 'ah!" He meant that it would not even adore dogs are unwilling pay attention. "Dog ignore" nickname, it is so spread by.
Then real life, the dogs were sometimes naughty, friendly, but some also turn their time, it is unreasonable? This dog to ignore people in the end how all?
Actually, the reason is very simple, because the dog has a habit, who's going to live to eat, who it good, who conditioned it right, I have made the following experiment results show me.
Remember early June, I adopted the puppies, this time it came in the dog days, and later fell sick, and sent me home. Originally it started already accustomed to the family that, although small, but it still has family impressive, as to my home, nearly a month, the disease or the body has recovered, the family dog to see how kind, the result of an accident occurred, it is not aware of puppy its original owner, 1:00 unfriendly, but also the original owner not allowed anything to do with it physically. When it can be masters of our own suddenly pulled out a pocket-sausage, immediately puppy eyes on the bright tail immediately shake up, it would mean that puppies, "I eat! I eat! "
Another example of the reality, my family's six-year-old black this year, first came to my home when I was a very friendly, a day will come back in the door so I came back and I opened the door, it has been discovered that the entrance is, in fact, trying to please me, because I always thought it to eat it bought the . In recent years, dogs not accustomed to this, I come back, it is still in their own blanket lying, and even a look at me not to see, when I said, "it meat, liver?" Its bright eyes immediately, I certainly do anything without hands. Still not understand yet, the dog ignored, as it is to eat the other not important, after all, it is only an animal it.
Members understand it, the dog ignored or not the key itself, because dogs are capable of pushing to have in mind the ability to eat, as long as it is to eat, it will do you some good.
This is the "dog ignore people," the crowds.
若使用vivo手机出现自动重启,可参考以下方法排查处理:
1、检查手机电量是否充足
请保持手机电量充足,手机电量低会导致自动关机,建议在电量剩余20%左右时及时充电。
2、检查是否误触电源键和音量键
电源键和音量键如果被保护壳卡住,或者在口袋中被挤压超过12秒以上,则可能导致手机重启,请注意避免挤压按键。
3、检查手机设置
进入设置--快捷与辅助--定时任务--定时开关机,查看是否设置定时开关机任务。
4、检查手机是否处于温度过高或过低环境
温度过低或者温度过高,会触发手机低温或高温保护功能,导致自动关机或重启。请尽量保持手机在0℃~35℃环境温度中使用。
5、卸载不兼容的软件
如果通过非应用商店安装了软件,可能不兼容导致手机关机或重启,建议备份好应用数据后,卸载软件后尝试。
6、检查存储空间是否充足
建议使用i管家及时清理手机存储空间,并卸载不常用的软件,保持存储剩余空间在20%以上。
7、升级系统版本
进入设置--系统升级页面,检查手机系统版本是否为最新版本,系统更新会提升系统对第三方应用的兼容性以及系统的稳定性,部分新版本还会增加一些新功能。
8、还原所有设置
可进入设置--系统管理/更多设置--备份与重置/恢复出厂设置--还原所有设置--还原,恢复设置选项。此操作不会删除文件或软件,会取消密码,还原所有的设置,包括:设置的壁纸、解锁样式、WiFi、默认开启程序等。
注:
进入云服务--设备云备份--备份数据类型--系统数据--返回--立即备份可备份部分系统设置和桌面布局;
云服务--数据同步--打开WLAN、蓝牙等可将数据同步到云服务。
9、强制重启手机
尝试将手机强制重启,观察是否恢复使用,另外检查电源键和音量键是否被保护壳卡住。
强制重启方法:
2017年9月以前上市机型(X20之前机型):长按"电源键"12秒以上
2017年9月后上市机型以及后续上市新机型(X20以及之后机型):同时按住"电源键"+"音量减键"10秒以上
NEX 3/NEX 3S:长按顶部圆键10秒以上
10、修复系统
进入"系统修复模式",然后点击"安装系统软件"-进入"联网更新最新版本",点击"确定"(建议连接充电器)-连接可用WiFi,当检测到升级包后,点击"下载并安装"更新手机系统。
进入系统修复模式的方法:
2017年9月以前上市机型(X20之前机型):关机状态按"电源键"和1
7、升级系统版本进入设置--系统升级页面,检查手机系统版本是否为最新版本,系统更新会提升系统对第三方应用的兼容性以及系统的稳定性,部分新版本还会增加一些新功能。8、还原
to eat, it will do you some good. This is the "dog ignore people," the crowds.手机
X20之前机型):长按"电源键"12秒以上2017年9月后上市机型以及后续上市新机型(X20以及之后机型):同时按住"电源键"+"音量减键"10秒以上NEX 3/NEX 3S:长按顶部圆键10秒以上10、修复系统进入"系统修复模式",然后点击"安
持手机在0℃~35℃环境温度中使用。5、卸载不兼容的软件如果通过非应用商店安装了软件,可能不兼容导致手机关机或重启,建议备份好应用数据后,卸载软件后尝试。6、检查存储空间是否充足建议使用i管家及时清理手机存储空间,并卸载不常用的软件,保持存储剩余空间在20%以上。7、升级系统版本进入设置
has recovered, the family dog to see how kind, the result of an accident occurred, it is not awar