How to use the variable length parameter in c
This article mainly explains "how to use the variable length parameter in c". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn how to use the variable length parameter in c!
1. Use the variable length parameter function declaration in the template
# include using namespace std;/* variable parameter function template declaration * / template void print (T... Val); / * Boundary condition * / void print (void) {cout