First of all, we know that we can’t avoid declaring sub functions when writing programs.
There was a problem during the test today:
After thinking about it, I declared the function in the previous writing, but the error “redefinition” was still reported. Later, I tried it
You need to prefix the function name with “void”.
Read More:
- [Solved] Error: error C2601: ‘b‘ : local function definitions are illegal error C2063: ‘b‘ : not a function
- Visual Studio 2012 error C4996: ‘scanf’: This function or variable may be unsafe.
- Preprocessor Symbols setting error: error: redefinition of enumerator
- C++ Use of deleted function error
- Hadoop ERROR: Attempting to operate on hdfs namenode as root ERROR: but there is no HDFS_NAMENODE_US
- [Solved] igb Compile Error: igb_main.c:10044:7: error: implicit declaration of function ‘isdigit’
- [Solved] Tensorflow2.0 Error: Function call stack:distributed_function
- C++:error C2872: ‘byte‘: ambiguous symbol [How to Solve]
- Grpc Compilation issues: “C++ versions less than C++11 are not supported.
- [Solved] QT Programme Error: error: no matching function for call to…
- How to Solve Fatal error stdatomic in C/C++ Compilation
- [Solved] error C2041: illegal digit ‘9‘ for base ‘8‘ | error C2059: syntax error: ‘bad suffix on number‘
- React Hook “useState“ is called in function “xxx“ which is neither a React function component or
- TypeError: res.render is not a function
- [Solved] URIError: Failed to decode param ‘/%3C%=%20BASE_URL%20%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%3E.css’
- Error: could not find function … in R [How to Solve]
- [Solved] C++ error: undefined reference to `xxx‘
- Cannot start container 39f96c64a9c6: [8] System error: exec format error
- Cmake Setting Support C++11 This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options
- QT solves error: use of deleted function and is private within this context