Hmm, before you go any further, can you explain me what's wrong with my code DESIGN-WISE?
Code:
#include <iostream>
using namespace std;
int add_it(const int a, const int b)
{
std::cout << "Start Calculating."<<endl;
return a+b;
}
void show_array(int* array, std::size_t size)
{
for(std::size_t i = 0; i < size; ++i)
{
std::cout<<array[i]<<std::endl;
}
}
int main()
{
return 0;
}