User profile: genesys

User info
User name:genesys
Email:[email protected]
Name:Oleg
Statistical data
Birthdate:May 10, 1990
Gender:Male
Occupation:Student
Skills:C++
History
Joined:
Number of posts:25
Latest posts:

Make a square with a diamond in the middle
cout << "****++****" <<endl; cout << "***++++***"<<endl; and so on

Problem clearing dynamically allocated memory
That 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 Functions
so do you just need to return a multiplication result of those 2 numbers? --------------------------...

Array functions
you can make a function that will populate your array with a new set of numbers? your questions see...