cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How can I delete members of arrays?
How can I delete members of arrays?
Jun 4, 2008 at 3:04am UTC
Nandor
(83)
How can I delete each n*k+1 and the first n terms of an [n*n] array?
I'd like to create an array from the previous one which looks like:[(n-1)*(n-1)]?
Jun 4, 2008 at 5:51am UTC
abdul90ni
(1)
I'm a really newbie in C++ Programming, I need assistance, Anybody knows the link of C++ Compiler, so i can download freely, thanks.
Jun 4, 2008 at 7:18am UTC
int main
(93)
nandor
You can not resize an array.
So, you have to work around the problem.
Use two loops to copy the values from array to array. That way you can copy the items you ned without the others you do not need.
int main
Topic archived. No new replies allowed.