%d is the output numerical integer The size_t in the warning is unsigned int. Change %d to %zu and there will be no warning. The difference between size_t and int is size_t is defined by some C/C++ standards in stddef.h. This type is sufficient to represent the size of an object. This type is sufficient to represent the size of an object. The true type of size_t is operating system dependent and is commonly defined in 32-bit architectures as. typedef unsigned int size_t; and in the 63-bit architecture is defined as. typedef unsigned long size_t. size_t is 4 bytes on 32-bit architectures and 8 bytes on 64-bit architectures; size_t is 4 bytes on 32-bit architectures and 8 bytes on 64-bit architectures, so be careful when compiling on different architectures. int is 4 bytes in different architectures. int is a signed book, size_t is an unsigned number.
Read More:
- How to Delete New Memory in Vector
- Vector series in actual C + +_ To_ fit()
- Detailed explanation of basic lstmcell in tensorflow learning
- Could not find an NgModule. Use the skip-import option to skip importing in NgModule
- Successful cases of redis distributed lock
- Latex: How to Modify the Size of the Font
- Solve the problem of 404 Not Found error in nginx accessing dynamic interface
- Read and write BMP image with Pure C language
- C Language Compilation Error: variably modified ‘* *’ at file scope
- WPF: How to Reference Font Resource File
- Ffmpeg about Avio_alloc_Context application for memory release
- How to Export All data in DataGridView to Local Excel
- Summary of unity3d 11 SceneManager scene management usage
- Installation and configuration of redis in Linux
- Sublime text 3 compiles and executes C/C++ programs directly
- How to Add Dfrours Model
- C# implementation of TXT document to table example code
- Linux Nagios failed to log in to internal server error (Fixed)
- Using common file upload to upload files in SSH project
- Server hardware and RAID configuration