<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>C/C++ on 里列昂遗失的记事本</title><link>https://blog.overfit.org/tags/c/c++/</link><description>Recent content in C/C++ on 里列昂遗失的记事本</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 07 Feb 2023 12:16:00 +0800</lastBuildDate><atom:link href="https://blog.overfit.org/tags/c/c++/index.xml" rel="self" type="application/rss+xml"/><item><title>VisualStudio2022+Opencv配置</title><link>https://blog.overfit.org/posts/2023-02-07-17097970-visualstudio2022opencv%E9%85%8D%E7%BD%AE/</link><pubDate>Tue, 07 Feb 2023 12:16:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2023-02-07-17097970-visualstudio2022opencv%E9%85%8D%E7%BD%AE/</guid><description>下载OpenCV OpenCV官网下载下来的是一个exe可执行文件，运行后是一个解压程序，解压路径设置为找得到的就可以了。添加系统路径 VisualStudio安装 选择使用C++的桌面开发就可以了。 运行VisualStudio 创建新项目 配置OpenCV 找到之前解压的目录</description></item><item><title>使用位级和逻辑运算，编写C表达式(x==y)</title><link>https://blog.overfit.org/posts/2021-12-07-15656318-%E4%BD%BF%E7%94%A8%E4%BD%8D%E7%BA%A7%E5%92%8C%E9%80%BB%E8%BE%91%E8%BF%90%E7%AE%97%E7%BC%96%E5%86%99c%E8%A1%A8%E8%BE%BE%E5%BC%8Fxy/</link><pubDate>Tue, 07 Dec 2021 15:15:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-12-07-15656318-%E4%BD%BF%E7%94%A8%E4%BD%8D%E7%BA%A7%E5%92%8C%E9%80%BB%E8%BE%91%E8%BF%90%E7%AE%97%E7%BC%96%E5%86%99c%E8%A1%A8%E8%BE%BE%E5%BC%8Fxy/</guid><description>只是用位级和逻辑运算，编写一个C表达式，它等价于x==y。当x和y相等时返回1，否则返回0 int main(void) { int x = 32, y = 32; printf(&amp;quot;%dn&amp;quot;, !((~x &amp;amp; y) | (~y &amp;amp; x)));</description></item></channel></rss>