⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faq

📁 开发源代码的CPU卡的COS源程序。
💻
字号:
Asked Questions:---------------------------1) Questions relating to CppUnit   ----------------------------1.1) Isn't there an easier way to write unit tests than using TestCaller ?   Yes, there is. Macros have been created to take care of the repetitive work. Look up include/extensions/HelperMacros.h in CppUnit documentation. Most of CppUnit test suite is also written that way since they remain compatible as CppUnit evolve. They also use RTTI if available.2) Questions related to Microsoft Visual VC++   -----------------------------------------2.1) Why does my application crash when I use CppUnit?      You probably forgot to enable RTTI in your project/configuration.RTTI are disabled by default.    Enable RTTI in Projects/Settings.../C++/C++ Language. Make sure todo so for all configurations.2.2) Why does the compiler report an error when linking with CppUnit library?   You most likely are not using the same C-RunTime library as CppUnit.   In Release configuration, CppUnit use "Mulithreaded DLL".   In Debug configurations, CppUnit use "Debug Multihreaded DLL".   Check that Projects/Settings.../C++/Code Generation is indeed usingthe correct library.   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -