We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Hey All,
I am getting an error with the main function it seems. Anyone else get this error when trying to run a solution:
solution.c: In function ‘main’:
solution.c:82:27: error: ‘a_count’ undeclared (first use in this function); did you mean ‘__round’?
int total = getTotalX(a_count, a, b_count, b);
^~~~~~~
__round
solution.c:82:27: note: each undeclared identifier is reported only once for each function it appears in
solution.c:82:39: error: ‘b_count’ undeclared (first use in this function); did you mean ‘a_count’?
int total = getTotalX(a_count, a, b_count, b);
^~~~~~~
a_count
Between Two Sets
You are viewing a single comment's thread. Return to all comments →
Hey All, I am getting an error with the main function it seems. Anyone else get this error when trying to run a solution:
solution.c: In function ‘main’: solution.c:82:27: error: ‘a_count’ undeclared (first use in this function); did you mean ‘__round’? int total = getTotalX(a_count, a, b_count, b); ^~~~~~~ __round solution.c:82:27: note: each undeclared identifier is reported only once for each function it appears in solution.c:82:39: error: ‘b_count’ undeclared (first use in this function); did you mean ‘a_count’? int total = getTotalX(a_count, a, b_count, b); ^~~~~~~ a_count