What is the error? What is the expected output? What is the current output?
daviddoria
Posting Virtuoso
1,996 posts since Feb 2008
Reputation Points: 437
Solved Threads: 204
1) Line 56:
return (symbol);
you can't return something in a void function.
2) Your ambiguous function is because you declare it like:
void func1(int rows,int column,int blocks,char symbol);
and define it like
void func1(int &rows,int &column,int &blocks,char &symbol)
(Note that one has &'s and the other doesn't). These must match exactly.
3) You should always use more descriptive function names. Func1 and func2 doesn't really help anyone know what is going on :)
David
daviddoria
Posting Virtuoso
1,996 posts since Feb 2008
Reputation Points: 437
Solved Threads: 204
Look at #2 in my last post. You did not change this.
daviddoria
Posting Virtuoso
1,996 posts since Feb 2008
Reputation Points: 437
Solved Threads: 204