Mac OS QT application packaging

1, Introduction The graphical interface packaged on MacOS must be created from the Bundle. This Bundle is like Apk, which contains code, libraries, resource files and so on. If you create a QT project by yourself and use a. pro file, this file will have the Bundle attribute. To be safe, you can also add the following: CONFIG+=app_bundle If ...

Added by sonehs on Wed, 22 Sep 2021 03:09:24 +0300

Educational Codeforces Round 114 (Rated for Div. 2)

Sorted algorithm template collection: ACM template Click me to see the algorithm family bucket series!!! It is actually a new refining template integration plan Educational Codeforces Round 114 (Rated for Div. 2) Competition link: https://codeforces.com/contest/1574/ The first four questions are too simple () The last two question ...

Added by nicholasstephan on Wed, 22 Sep 2021 02:20:09 +0300

Discussion and design of string function and memory operation function in C language

Analysis and design of string function The processing of characters and strings in C language is very frequent, but C language itself has no string type. Strings are usually placed in constant strings or character arrays. String constants apply to string functions that do not modify it. Let's understand some string functions in the libra ...

Added by miro_igov on Tue, 21 Sep 2021 21:16:36 +0300

Macbook air M1 configuring the vscade C + + Environment

Download and install from vscode official website download address Download the installation package and select Apple Silicon After downloading, it seems that it will be installed automatically Double click to open If your English level is OK, it is recommended to refer to the official documents directly for the subsequent configuration ...

Added by day_tripperz on Tue, 21 Sep 2021 12:04:39 +0300

LeetCode skimming - find the central index of the array

This is the 1st / 100th question that I insist on swiping the card~   1, Title Description Give you an integer array nums, please calculate the central subscript of the array. The central subscript of the array is a subscript of the array. The sum of all elements on the left is equal to the sum of all elements on the right. If the centra ...

Added by vasoftwaresolutions on Tue, 21 Sep 2021 11:36:52 +0300

C language - detailed explanation of common character functions + simulation implementation

  Today is September 21, 2021. First of all, I wish you a Happy Mid Autumn Festival! May we all be blessed with longevity. Though far apart, we are still able to share the beauty of the moon together.. It's another full moon. I wish you all a reunion with the people you love and the people who love you on the Mid Autumn Festival~ Let's mo ...

Added by rash on Tue, 21 Sep 2021 11:32:32 +0300

C + + learning notes

C + + learning notes 01 basic grammar #include<iostream> using namespace std; //Note: CTRL + K first, then CTRL + C //Uncomment: CTRL + K first, then CTRL + U int main() { cout << "hello world" << endl; system("pause"); return 0; } 02 sizeof #include<iostream> #include<string> using namespace std; int m ...

Added by Joost on Tue, 21 Sep 2021 06:26:11 +0300

C + + learning notes

Chapter 6 - functions 1. Function basis 1.1 formal parameter list of function The formal parameters in the formal parameter list are usually well separated. Even if the brother's formal parameters are of the same type, both types must be written out int f3(int v1, v2) {/* ... */} // error int f4(int v1, int v2) {/* ... */} // correct T ...

Added by pipeten on Mon, 20 Sep 2021 14:07:18 +0300

[PAT] grade B 1080 MOOC final score (25 points) c++

1080 MOOC final score (25 points) For MOOC in Chinese Universities( http://www.icourse163.org/ )Students studying the "data structure" course who want to obtain a qualification certificate must first obtain an online programming homework score of no less than 200 points, and then obtain a total score of no less than 60 points (out o ...

Added by why2k on Mon, 20 Sep 2021 13:54:54 +0300

Analysis of C++ PImpl implementation mechanism and code implementation

  in the introduction to beyond the c + + standard library boost library, there is a paragraph: scoped_ptr and Pimpl usage   scoped_ptr can be well used for many previously used bare pointers or auto_ptr, such as when implementing pimpl usage. [4] The idea behind pimpl usage is to isolate the client from all knowledge about the ...

Added by frog on Mon, 20 Sep 2021 11:43:10 +0300