Original Post
Well casting int* to vector used to work in VC++6, which doesn't work anymore in VC++7 or 8. I know its probably not the neatest thing to do for a C++ purist but some libraries would take int* as function arguments while we were dealing with vector... is there anyway we can do the casting or do i have to make a seperate malloc and them copy all the content of the vector to the allocated memory and bla bla... (damn, in that case.. it will take lots of time just to covert data)