Make a square with a diamond in the middlecout << "****++****" <<endl; cout << "***++++***"<<endl; and so on
Problem clearing dynamically allocated memoryThat is what i meant - release used memory to prevent memory leak. I just wanted to return a pointe...
Problem clearing dynamically allocated memory[code]#include <iostream> using namespace std; int *foo() { int *ptr = new int[3]; ...
Using Functionsso do you just need to return a multiplication result of those 2 numbers? --------------------------...
Array functionsyou can make a function that will populate your array with a new set of numbers? your questions see...