Search:

Type: Posts; User: cbeginner12334

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    3,896

    plot xy bmp

    hello guys i need to make a bmp file of plot xy
    those anyone has a little idea how i can do it ?
    TNx
  2. Replies
    3
    Views
    6,107

    oh i forgot to say my file looks like : width...

    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
  3. Replies
    3
    Views
    6,107

    read part from file

    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) {
    ...
  4. Replies
    3
    Views
    4,100

    i tried to free with the first function and its...

    i tried to free with the first function and its stiil doesnt work.
    you know what is the problem?
  5. Replies
    3
    Views
    4,100

    cant free my memory

    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*));
    ...
  6. Replies
    6
    Views
    7,365

    i didnt find it

    i didnt find it
  7. Replies
    6
    Views
    7,365

    drawing on bmp file

    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.
  8. Replies
    4
    Views
    5,608

    line 19-25 need to convert for 2 arrays (i dont...

    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...
  9. Replies
    4
    Views
    5,608

    help.

    help.
  10. Replies
    3
    Views
    7,023

    the struct of colors is int so i need to exchange...

    the struct of colors is int so i need to exchange it to char ?
  11. Replies
    4
    Views
    5,608

    Read file into linked list

    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;...
  12. Replies
    3
    Views
    7,023

    Reading bmp file to 2d array

    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 : ...
  13. Replies
    4
    Views
    5,787

    hey ,thanl you very much. so i need to use big...

    hey ,thanl you very much.
    so i need to use big indian to read this file ?
    the bmp file is a map/
  14. Replies
    4
    Views
    5,787

    reading bmp file

    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...
  15. Replies
    6
    Views
    6,974

    yes its a academic project and COLS==ROWS==2...

    yes its a academic project
    and COLS==ROWS==2
    yes all matrix square/
  16. Replies
    6
    Views
    6,974

    wow ,first of all thank you !!! but in my...

    wow ,first of all thank you !!!
    but in my project with must use the triple pointer
  17. Replies
    6
    Views
    6,974

    Problem of allocation memory

    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...
  18. Replies
    3
    Views
    1,197

    How do I fix free allocation?

    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)
    {
    ...
Results 1 to 18 of 18