Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

finish hw01#119

Open
Daydream0929 wants to merge 1 commit into
parallel101:main from
Daydream0929:main
Open

finish hw01 #119
Daydream0929 wants to merge 1 commit into
parallel101:main from
Daydream0929:main

Conversation

@Daydream0929

@Daydream0929 Daydream0929 commented Dec 25, 2023

Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Author

步骤

  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中定义宏?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /