I am having a csrollview where some data is being rendered. I want this data to be printed..I am unable to find anything on it.. can anyone help me out.. there is also a small problem.. like I have the vertical and horizontal scrollbars attched to the same.. but the vertical scrollbar is not working the way it should.. I mean if i drag the bar by mouse it either goes up (max) or below (min). I want to drag it by mouse and remain there where i leave.. Hope that both can be solved.. Looking forward to a solution from you people. Thanks a lot in advance..
Actualy ommitting the brackets does free the memory, but only calls that destructor for the first object in the array. The brackets tells delete to call the destructor of every item in the array. Therefor, for basic types you could get away with not using the brackets (not recommened).
If you are creating an array of objects that also allocate memory for there own use, then you must use the brackets so that there destructors will be called inorder for them to clean up after themselfs (a.k.a. free any memory they allocated).