hi guys..
here iam trying to allocate memory for arr...i wrote following code...but i got and error
"initializing' : cannot convert from 'int *' to 'int []'
There are no conversions to array types, although there are conversions to references or pointers to arrays"
int arr[]...
hi guys..i am trying to read bmp file. here i want to load values of image into rawimage ... but i got an assertion window...can u help meout...
//decalring image
unsigned int **image;
image = new unsigned int* [biheight];
for(int i=0;i<biheight;i++)
image[i] = new unsigned int[biwidth]...
thanks for u r help salem,
but as u said ,do u want to me to remove all the pointers??? if i use filename[100] iinstead of *filename, dont u think we r wasting lots of memory and any more suggestion for fread.
thank you
hi guys...here i am trying to read bmp file & when i run this code in turbo c ..its wokring properly when it comes to vc++ compiler i got winxp assertion window.. i think i did somthing wrong with pointers..can u help me out plzzz
#include<stdio.h>
#include<conio.h>
typedef unsigned long lword...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.