Please I keep getting some error message from this code which I don't know how to fix it
// C++ program to print all n-digit numbers whose digits // are strictly increasing from left to right #include <bits/stdc++.h> using namespace std; // Function to print all n-digit numbers whose digits // are strictly increasing from left to right. // out --> Stores current output number as string // start --> Current starting digit to be considered void findStrictlyIncreasingNum(int start, string out, int n) { // If number becomes N-digit, print it if (n == 0) { cout << out << " "; return; } // start from (prev digit + 1) till 9 for (int i = start; i <= 9; i++) { // append current digit to number string str = out + to_string(i); // recurse for next digit findStrictlyIncreasingNum(i + 1, str, n - 1); } } // Driver code int main() { int n = 3; findStrictlyIncreasingNum(0, "", n); return 0; }