摘要:
Step1: Choose your font and download it as *.ttfStep2: Use 'Fontmin'(http://ecomfe.github.io/) to compress your fontStep3: Use (https://transfonter.or 阅读全文
摘要:
class Father { public: Father(int x) {do sth.} ... }; 对于这样的父类,下面一种子类的构造函数时错误的: class Son : public Father { public: Son() {do sth...} ... }; 会提示你没给Fath 阅读全文
摘要:
#pragma once 是写在头文件开头的编译指令,使得编译器能够自动帮我们实现“只编译一次该头文件”,从而避免了多次include该头文件导致的重复定义/声明问题。 在没有#pragma once 之前,我们常用的方法是为这个头文件制定一个独一无二的宏名(比如说叫__Car__),然后使用#if 阅读全文
摘要:
ld: warning: ignoring file c, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x23 0x69 0x6E 0x 阅读全文