No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a 2D array with 2 types of values : '-1' and non - '-1'. -1 implies pixel off else on. After each loop my array changes. Hoa can i make a video from these images ? any idea , tools , any help :X |
|
I want to create an mpeg video with [B]ffmpeg[/B] with my program that generates lots of 2D arrays, each of which represents an image. As ffmpeg only takes YUV images. Is it possible to draw a YUV image in c++ or should i generate a RGB image first and then … |
|
I have a map of pointers to objects, i want to delete some randomly chosen pointers and the objects they point to. Is it possible to do it without using libraries like boost ? I assign the map as follows [CODE]map<int,particle*> particle_map; particle* particles= new particle[number_of_particles]; for(i==0;i<number_of_particles;i++) { particle_map[i] = … |
|
My program dynamically allocates memory to an array of objects : [CODE] class particle { public: int x[D],shifted,ID; particle() { shifted=0; ID=-1; } }; // Array of all the particles particle* particles; int main() { for(a=0;a<s_num;a++) { particles= new particle[num]; //some code ........ ........ for(i=num-1;i>=0;i--) { delete (particles+i); } } … |
|
Re:
Why turbo C++ compiler is not supporting in laptop(compaq CQ40,lanova 450) ????...........Is there any other compiler that support for laptops?????????? |
|
Re:
Essentially what I'm trying do with nested statements is that when I enter the the second switch stament and when I exit the second switch statement it goes back to the first switch statement menu. Currently the current code exits the entire program after the second switch exits, which of … |