954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Array Help

I'm trying to determine if this creates an array of pointers, with the array size being "size"? Is this correct?

int size = x;
	int *ptr;
	ptr = new int [size];
coolbeanbob
Junior Poster
177 posts since Oct 2010
Reputation Points: 27
Solved Threads: 1
 

I think the answer is yes.

coolbeanbob
Junior Poster
177 posts since Oct 2010
Reputation Points: 27
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You