Search:

Type: Posts; User: eyescythe

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,375

    well, luckily ive found my windows installer out...

    well, luckily ive found my windows installer out of my "old treasure box" . :D

    ive succesfully installed it in the vmware virtual disk, but now when i try to run an application(specifically...
  2. Replies
    2
    Views
    1,375

    VMware player

    hello everyone,

    do you know where to download a windows xp sp3 vmdk file?
    im trying to run windows in my vmware player but i learned that you need to install
    the os again, unfortunately i dont...
  3. Replies
    5
    Views
    1,974

    thanks a lot man! ive completely installed...

    thanks a lot man!

    ive completely installed spim!
    now time for some programming action! :D

    have a nice day!!
  4. Replies
    5
    Views
    1,974

    but now i have this error /usr/bin/ld:...

    but now i have this error


    /usr/bin/ld: cannot find -lXaw
    collect2: ld returned 1 exit status
    make: *** [xspim] Error 1


    ive already installed a C compiler, flex and bison...
  5. Replies
    5
    Views
    1,974

    thanks man! ive fixed this error ..gosh...

    thanks man! ive fixed this error

    ..gosh there's many requirement to install spim
  6. Replies
    5
    Views
    1,974

    Installing spim

    Hello Everyone!

    Im installing spim on ubuntu which i got from SPIM MIPS Simulator.
    Ive followed the steps but suddenly i got these following errors.


    ...
  7. so is this correct? current=head;...

    so is this correct?



    current=head;
    while(current!=NULL){
    fwrite(current, sizeof(pokemon_t), 1, bfp);
    current=current->next;
    }
  8. typedef struct pokemon{ char name[20]; char...

    typedef struct pokemon{
    char name[20];
    char type[20];
    struct pokemon *next;
    }pokemon_t;

    FILE *bfp;
    pokemon_t pokemon;
  9. my compiler did not showed any warning.. and i...

    my compiler did not showed any warning..
    and i also included stdio and std lib..

    so how should the code in reading the file be? whats the correct code?
  10. but i have problems on writing the linked list on...

    but i have problems on writing the linked list on the binary file...


    assuming that head is the head pointer of the linked list..

    current=head;
    while(current!=NULL){...
  11. anyone? help :D! writing linked lists on a binary file..

    here is my code





    bfp=fopen("TEMPORARY.bin", "ab+");

    head=(pokemon_t *)malloc(sizeof (pokemon_t));
    strcpy(head->name, "pikachu");
  12. Replies
    15
    Views
    2,449

    ok..now i get it... how about in reading all...

    ok..now i get it...

    how about in reading all the data in the file....

    so i will use a ptr that will point to the head of the list...then the ptr walks..

    i used fseek and fread (included in a...
  13. Replies
    15
    Views
    2,449

    thanks tabstop....:D how about in fwriting the...

    thanks tabstop....:D

    how about in fwriting the linked lists
    will i do this?

    head is the head pointer of the linked lists..

    fwrite(&head, sizeof(pokemon_t), 1, bfp) or
    fwrite(&pokemon,...
  14. Replies
    15
    Views
    2,449

    so what i will do now...is open the file...read...

    so what i will do now...is open the file...read the structures...link it...then close the file....add the new structure (in alphabetical)

    open the file again...with "wb+"....then write the link...
  15. Replies
    15
    Views
    2,449

    so if i will rewrite the file.. how can i do...

    so if i will rewrite the file.. how can i do that?



    i am opening the file like this

    bfp=fopen("myfile.bin", "ab+");
  16. Replies
    15
    Views
    2,449

    so if i will just write it in place.. how can...

    so if i will just write it in place..

    how can i add a new structure in the file...alphabetically...so i nid to link it..
    or noy needed?
  17. Replies
    15
    Views
    2,449

    if that so...i will write the newly...

    if that so...i will write the newly alphabetically arranged structures to a new .bin file right?

    then...what if i need to load it? my program opens the old file...but ive written the...
  18. Replies
    15
    Views
    2,449

    because i'm adding a structure into the .bin file...

    because i'm adding a structure into the .bin file alphabetically...

    so do i need to link it? or there are other ways?
  19. Replies
    15
    Views
    2,449

    problem on writing to a binary file

    i have a problem on how can i write a linked list structure to a binary file



    typedef struct pokemon{
    charn name[20];
    struct pokemon *next;
    }pokemon_t;
  20. help me about binary files

    this is my structure


    typedef struct pokemon{
    char name[20];
    char type[20];
    struct pokemon * next;
    }pokemon_t;

    lets assume that the file has already data in...
Results 1 to 20 of 20