hello guys i need to make a bmp file of plot xy
those anyone has a little idea how i can do it ?
TNx
Type: Posts; User: cbeginner12334
hello guys i need to make a bmp file of plot xy
those anyone has a little idea how i can do it ?
TNx
oh i forgot to say my file looks like :
width 95 - 78,90,91
78,90,91
788,90,901
78,901,91
width 95 - 78,90,901
and i need only the nubmers where the line start with width
i have file like this :
width 95 - 78,90,91
i need to read the numbers 95 and 91
how can i scan this nubmer into two integer ?
my code so far :
while ((ch = fgetc(f1)) != EOF) {
...
i tried to free with the first function and its stiil doesnt work.
you know what is the problem?
hello ,i need some help with free memory
my allocation:
(pixel is struct of RGB)
pixel** array(int Y, int X) {
pixel** theArray;
theArray = (pixel**)malloc(Y * sizeof(pixel*));
...
i didnt find it
hello guys i need to draw on bmp file and i dont know how to do it ?
does anyone have an idea how to do it ?
i didnt find any help on internet.
line 19-25 need to convert for 2 arrays (i dont know how to do it with linked list)
line 30 print the linked list (?)
i did not understand what is the mean of the function add_to_list
can you...
help.
the struct of colors is int so i need to exchange it to char ?
hello guys i tried to read file into linked list and then print it
but when i print it the first sentences is deleted .
what am i doing wrong?
int read_file(char * filename) { int i = 0;...
hey guys i need some help.i need to get rgb from bmp file
my problem: when i get the colors my output is CDCDCD32,CDCDCD84,CDCDCDF9
i need to get
32,84,F9
how can i move the bite?
my code is : ...
hey ,thanl you very much.
so i need to use big indian to read this file ?
the bmp file is a map/
my project is to read bmp picture and to take the parmerter of hieght and print it,when im trying to do this file and my output is wrong,i dont know why
my code:
struct BitMap
{
int...
yes its a academic project
and COLS==ROWS==2
yes all matrix square/
wow ,first of all thank you !!!
but in my project with must use the triple pointer
hey guys i have a little project i need to write a program that can calculate two matrix and put the sum in triple pointer,for first i need to allocate memory for triple pointer .
my problem is that...
int i, j;
C = malloc(ROWS * sizeof(float **));
for (i = 0; i < ROWS; ++i)
{
C[i] = malloc(ROWS * sizeof(float *));
for (j = 0; j < ROWS; ++j)
{
...