hw01 icon indicating copy to clipboard operation
hw01 copied to clipboard

finish hw01

Open Daydream0929 opened this issue 1 year ago • 1 comments

Daydream0929 avatar Dec 25 '23 05:12 Daydream0929

步骤

  1. 添加一个stb_image_write.cpp文件
  2. 修改stbiw目录下的CMakeLists文件(静态or动态编译成stbiw库)
  3. 添加一个run.sh脚本执行cmake构建任务

疑问 (求解答)

  1. stb_image_write.h中既然已经实现了函数定义,为什么不直接使用.hpp后缀,反而要重新定义一个stb_image_write.cpp?
  2. 为什么要在stb_image_write.cpp中定义宏?

Daydream0929 avatar Dec 25 '23 05:12 Daydream0929