Like in title, can I somehow get size of dynamic allocated array (I can't keep it separately), or somehow loop through this array without using it's size?

int *ar=new int[x]; //x-size of array, I don't know it in the beggining, 


P.S. If I wanted to use std::vector, I wouldn't ask about it, so don't tell me to use it :)


Question: CName for static images - will Google crawl?
Answer: Since the images on the subdomains would be linked from the main domain, Google will certainly be aware of the subdomain and will certainly grab the linked images.  I don't believe you will get the subdomain actively crawled as a separate entity, though.  The algorithm is smart enough to detect that you are just serving resources off the subdomain instead of actively hosting real content and index accordingly.