低资源、有针对性的全屏捕获,为什么选择 C#?
我希望能够使用 C++“使用大量压缩”来捕获屏幕截图,和/或更重要的是“捕获时使用很少的系统资源”。我一直在寻找简洁、写得好的例子,我想我已经找到了一些。我发现大多数示例都是用 C# 编写的,很少是用 C++ 编写的。我确信有一个有点简单/常见的答案,但问这个问题是愚蠢的。为什么人们使用 C# 而不是 C++?
I would like to be able to capture screenshots with C++ 'using a lot of compression', and/or more importantly 'uses very few system resources when capturing'. I have been looking for concise, well-written examples, and I think I have found a few. What I've found is that most of the examples are in C# and very few are in C++. I'm sure there's a somewhat simple/common answer, and it's foolish to ask. Why do people use C# instead of C++?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因为它更容易。
C++ 为您提供了对所有事物的大量控制,而额外的控制会带来额外的责任和更多的工作。如果您只是想快速完成某件事,使用 C# 通常就足够了。
Because it's easier.
C++ gives you a lot of control over everything, and with that extra control comes extra responsibility and more work. If you just want to get something done quickly, using C# is usually sufficient.