5.2 | 5.3 | 5.4 ...

本文分享了一位程序员通过多样化的学习路径逐步掌握MFC的过程,包括从C语言到C++,再到MFC的学习经历,深入剖析了MFC的运行机制,并探讨了在学习过程中遇到的各种挑战及解决方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Oh,shit.终于把MFC运行机制看完了,等明天写完下部分,就可以开始真正的写MFC了。

是不是很落伍??。。。

我发现我学习Windows编程的方法和别人是不一样的。

我先学的C,C++,然后再学C++(C++编程思想),然后再学C++(C++编程思想),然后学了Windows程序设计(60RMB)的前两章,发现很迷惑,然后就去学Linux内核(将近90RMB),发现看不懂,然后去学Win32汇编(当时正好在学病毒,正好要用),于是狠下心(80RMB)买了罗云宾老师的汇编,发现买对了,虽然可能不会用到,但绝对是一本入门的经典。在考完试后的寒假里我一口气把书读完,很高兴,以为自己很NB,结果再写c++程序时发现出问题了,不会写C了,我要写一个a = b,居然想写mov b,a!!然后最严重的问题是类型转化的问题。汇编中没有什么类型的概念,全部都视为DWORD,但是在C/C++这种高级语言中就成了很严重的问题,C++尤为严重,因为他的类型检查非常的强烈!!

然后又去读Linux源码,读了十几天,发现又会了不少。

然后去学C++设计模式,那可不是简单的东西,学了很长时间就看会了Factory和AbstractFactory模式!

写了两个ACM程序,回学校后又开始学MFC,静下心来看完MFC简约的代码,终于明白了。。。

原来,Windows的世界是这个样子的,以后再也不怕MFC了。

虽然MFC已经陈旧,而且其封装等非常的ugly(最烦那长长的名称,讨厌XXXX命名法,虽然很好用),但是对自己来说是一种提高。尤其是当别人会MFC时你不会,什么感受??而且他的各种机制以及编程的思想和技巧是非常值得学习的。

虽然我已经将C++编程思想看过n回了,但是还是觉得c++掌握的不好,尤其是在看C++设计模式和看STL的源码是发现还是有很多看不懂。。。所以我又借来(学校图书馆)C++ Primer,还得再看看,深刻了解之。。。

下面附上今天下午学习的源码,晚上学的那些没写代码,明天再写吧。

 

我就随便贴了,反正只是给自己看

 

 

 

 

 

 

基础打好了最好了,什么掌握的都非常快,不要迷恋哥。。。

今天早上去图书馆自习看来半章的《Data Mining : Concept & technology》,N人Jiawei Han写的,看起来很迟了。

读课本,英文版的《system anaylz》……老师讲的so 快,我他每将一节课我在下面都得看10小时,才能勉强跟上。。。

这两天老学英语了,各种英语书,还有考研英语。。。

幸好6级过了,要不。。。

该洗脸刷牙睡觉了。

 

 

V5.4.4完整版/20205月 STM32电机控制软件开发套件(MCSDK- 完整源代码 主要变化: Version 5.4.4 is mostly a bug fix release of X-Cube-MCSDK v5.4.3. It also introduces some new feature. ◾Added Support for PFC on STM32F3. This support is added as an example for the STEVAL-CTM010V1 Dual motor demo board. ◾Atollic TrueSTUDIO & SW4STM32 Deprecation. Atollic TrueSTUDIO and SW4STM32 IDEs are no longer actively developed and ST's strategy is to replace them with STM32CubeIDE. Recent STM32 series like STM32G4 devices for instance, are already not supported by all these IDEs. In a near future release of the Motor Control SDK, support for these IDE will be dropped and it will not be possible anymore to generate a project for them from the Workbench. ◾Introduced a workaround for the issue with injected ADC conversions that exists on STM32G4xx Cut 2.2 devices. See the dedicated section below for more details. ◾Reintroduced the correct ST Motor Profiler version (the same as release 5.4.1 of the SDK). The Motor Profiler delivered with MCSDK 5.4.2 and 5.4.3 was incomplete. ◾Fixed an issue with the faulty setting of the maximum application current for the second drive in dual drive configurations ◾Fixed an issue with Position Control configurations using an absolute position encoder (with Z signal). ◾Fixed another issue with Position Control where a division by 0 was possible. ◾Fixed a bootstrap capacitor charge issue in ICS configurations ◾Fixed a SW Error that could occur during the offset measurement loop ◾Fixed a code generation issue resulting in a compilation error when enabling open loop. ◾Fixed a STM32H7 example compilation issue - missing files have been added. ◾Fixed a generation issue for some STM32G0 and STM32F0 devices where TIM2 does not exist but was referenced in the code anyway. This resulted in a compilation failure. ◾Fixed an issue with STM32F1 HD devices in single shunt configurations ◾In the workbench, the maximum PWM frequency can now be set as high as 500 KHz. ◾Fixed an issue due to the limited RShunt resolution. Now, values such as 0.00025 Ω are accepted. ◾Fixed an issue with NVIC configuration for IHM34V2 inverter boards. ◾Fixed a Workbench issue that resulted in a wrong pin assignment when creating new projects based on the NUCLEO-G431RB control board. See section Pin assignment with NUCLEO-G431RB for more details. ◾Fixed an issue that resulted in incorrect overcurrent settings with some power boards. See section Over current settings correction for some power boards ◾Enable users to select DAC channel 2 with STM32L452
### Bluetooth Protocol 版本间的差异与发展 #### 5.1 到 5.2 的改进 从 Bluetooth 5.1 至 5.2,主要增强了连接稳定性和安全性。Bluetooth 5.2 引入了 LE Power Control 功能,允许设备之间协商传输功率级别,从而优化功耗并提高通信质量[^1]。 #### 5.25.3 的改进 Bluetooth 5.3 进一步提升了低能耗 (LE) 技术的表现。此版本简化了广播信道的选择算法,在不影响性能的前提下降低了初始化时间,并减少了不必要的空中活动,进而节省更多电力资源。此外,还引入了 Periodic Advertising Sync Transfer(周期性广告同步转移),使得音频分享等应用场景更加高效可靠。 #### 5.35.4 的改进 最新发布的 Bluetooth 5.4 主要集中在增强现有功能以及修复已知问题上。对于开发者而言,新标准提供了更好的调试支持;而对于终端用户来说,则意味着更稳定的连接体验和更低延迟的数据传输过程。具体更新还包括对 Audio/Video Distribution Transport Layer (AVDTP) 协议栈的支持加强,这有助于推动新一代无线音频技术的发展。 ```python # Python 示例代码用于展示如何查询蓝牙版本特性 def get_bluetooth_features(version): features = { "5.1": ["Direction Finding", "GATT Caching"], "5.2": ["LE Power Control", "Isochronous Channels"], "5.3": ["Periodic Advertiser List Size Increase", "Connection Subrating"], "5.4": ["Enhanced Debugging Support", "Improved AVDTP Profile"] } return features.get(str(version), []) print(get_bluetooth_features(5.4)) ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值