Compiling and Debugging Fluent UDF with Visual Studio and CMake

Compiling and Debugging Fluent UDF with Visual Studio and CMake

This article introduces the method of compiling and debugging Fluent UDF using Visual Studio and CMake. Note: This article refers to the article published by <span>Jiaoran Today What to Play</span> at https://zhuanlan.zhihu.com/p/492619039, and I extend my highest respect to the author’s spirit of sharing. ” There are many methods for compiling Fluent UDF. As a … Read more

Compiling OpenCV 4.8.1 with CMake and Visual Studio 2022 on Windows

Compiling OpenCV 4.8.1 with CMake and Visual Studio 2022 on Windows

1. Background The project I am currently maintaining runs on Windows and uses OpenCV version 4.5.2. My local development environment is a Mac, and I am using the newer OpenCV version 4.8.1. To maintain consistency with my local development environment, I plan to upgrade the OpenCV used in the project, as the project still utilizes … Read more

Calling Python from C++

Calling Python from C++

Click the above“Mechanical and Electronic Engineering Technology” to follow us 1. Configure Header Files Add the include directory under the Python installation directory to the header file directory. The operation path in Visual Studio 2022 is: Properties –> C/C++ -> General-> Additional Include Directories C:\Users\AppData\Local\Programs\Python\Python39\include 2. Configure lib Directory Add Python39.lib to the compilation link. … Read more

Calling C/C++ Functions from Assembly Language: Multiplication Table Example

Calling C/C++ Functions from Assembly Language: Multiplication Table Example

Click the blue text Follow us Source from the Internet, please delete if infringing Now let’s write a simple application that prompts the user to input an integer and multiplies it by powers of 2 (2¹ to 2ⁿ) using bit shifting, displaying each product with leading spaces. The input-output will use C++. The assembly module … Read more

C++ Device Driver Development: Printer Driver Insights

C++ Device Driver Development: Printer Driver Insights

1. C++’s Dominance in Driver Development In the field of printer driver development, C++ is undoubtedly the “main force.” Its high performance allows printing tasks to be processed swiftly, even when faced with complex text and image layouts or high-resolution image printing, it can easily handle the task and quickly transmit data to the printer, … Read more

Implementing Basic Functions of a Web Browser in C++

Implementing Basic Functions of a Web Browser in C++

1. The C++ Magic Behind Browsers In today’s digital age, browsers have become an indispensable part of our lives. Every day, we use them to search for information, browse news, watch videos, shop, and even conduct online work and learning. From checking social media in the morning to catch up on current events, to opening … Read more

Practical Guide to Developing a Network Chat Application in C++

Practical Guide to Developing a Network Chat Application in C++

1. Introduction: The Power of C++ Behind Network Chat Applications In today’s digital age, network chat applications have become an indispensable part of our lives. Whether chatting with friends and family or collaborating with colleagues at work, popular chat tools like WeChat, QQ, and DingTalk have broken the constraints of time and space, allowing instant … Read more