2021年12月10日

摘要: TI CC2540 低功耗蓝牙 TI 德州仪器 https://e2echina.ti.com/support/wireless-connectivity/bluetooth/f/bluetooth-forum 阅读全文
posted @ 2021-12-10 23:36 lydstory 阅读(28) 评论(0) 推荐(0)
摘要: struct abc { int a; char b[12]; char c[3]; }; int main() { cout << sizeof(struct abc *) << endl; system("PAUSE"); return 0; } 阅读全文
posted @ 2021-12-10 19:53 lydstory 阅读(31) 评论(0) 推荐(0)
摘要: struct abc { int a; char b[12]; char c[3]; }; int main() { cout << sizeof(abc) << endl; system("PAUSE"); return 0; } struct abc{ int a; char c[5];}; 1 阅读全文
posted @ 2021-12-10 19:51 lydstory 阅读(28) 评论(0) 推荐(0)
摘要: int main() { char a[] = "abcde"; char b[] = { 'a', 'b', 'c', 'd', 'e' }; cout << strlen(a) << endl; cout << strlen(b) << endl; system("PAUSE"); return 阅读全文
posted @ 2021-12-10 19:48 lydstory 阅读(13) 评论(0) 推荐(0)
摘要: void swap(int &a, int &b) { a = a^b; b = a^b; a = a^b; } int main() { int a = 5; int b = 3; swap(a, b); cout << a << endl; cout << b << endl; system(" 阅读全文
posted @ 2021-12-10 19:40 lydstory 阅读(25) 评论(0) 推荐(0)

导航