当前位置:网站首页>How to add an external header file in vs?
How to add an external header file in vs?
2022-06-25 05:16:00 【The end of the year and the beginning of the year】
Reference link :https://www.jianshu.com/p/bd17b153dae2
vs How to add an external header file in ?
Method 1 :
With Sales_item.h File as an example :
(1) Directly copy the external header file , Under this item, it is the same as this item cpp Files in the same directory , Here's the picture :
(2) At the project header file , Right click —— Add an existing item , Find out Sales_item.h File and add , Here's the picture :
(3) Write in program #include"Sales_item.h", Here's the picture :
Method 2 :
(1) Item right click , In the attribute C/C++ ----- routine , The attachment contains the path to the directory where the header file is added 
(2) Write in program #include"Sales_item.h", Here's the picture :
Be careful :(1) The directory path of the header file added in must be (2) in include“…” The upper level file of ;(2) There are multiple layers of files in / separate
边栏推荐
- Basic bit operation symbols of C language
- How PHP gets the user's City
- Critical dependency: require function is used in a way in which dependencies
- Array: force deduction dichotomy
- Vue uses keep alive to cache page optimization projects
- Flex flexible layout for mobile terminal page production
- In Net 6 using dotnet format formatting code
- Student achievement management system based on SSH
- Go Concurrency
- Small sample learning data set
猜你喜欢

渗透测试-目录遍历漏洞

PHP calls map API

Prototypical Networks for Few-shot Learning

What if win11 Bluetooth fails to connect? Solution of win11 Bluetooth unable to connect

Create an environment for new projects
![H5 native player [learn video]](/img/51/83a200d0423b7274d1e981ec2ede2c.jpg)
H5 native player [learn video]

TeeChart Pro ActiveX 2022.1

Use serialize in egg to read and write split tables

MySQL prevents Chinese garbled code and solves the problem of Chinese garbled code

Kotlin compose perfect todo project surface rendering background and shadow
随机推荐
C style string
Can bus extended frame
Dynamic programming example 2 leetcode62 unique paths
Basic bit operation symbols of C language
Go Concurrency
February 20ctf record
How to use the Magic pig system reinstallation master
Swift rapid development
ORA-00800: soft external error
parallel recovery slave next change & parallel recovery push change
Integrate CDN to create the ultimate service experience for customers!
Large number operation (capable of square root, power, permutation and combination, logarithm and trigonometric value)
Fun CMD command line~
JS function to realize simple calculator
Cookie & session & JSP (XII)
Edge loss interpretation
Penetration information collection steps (simplified version)
Extend the toolbar of quill editor
Personalized Federated Learning with Moreau Envelopes
Precise delay based on Cortex-M3 and M4 (systick delay of system timer can be used for STM32, aducm4050, etc.)