Search:

Type: Posts; User: aleitamar

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    7,517

    School excercise...

    this is just a school excersice... i'm currently in my first year studying Computer science,

    so far i managed to do well, but this bit manipulation startled me a bit,
    i'll give it a try and get...
  2. Replies
    7
    Views
    7,517

    original problem

    thank you for the quick answer!

    the original problem is as follows:

    i have a struct:



    typedef struct {
    char *name;
  3. Replies
    7
    Views
    7,517

    thanks

    hmm, that's nice

    how about a more generic solution where i get an array and its size, and i want to do this for the whole array?

    and can you show the other way to do this with a union or...
  4. Replies
    7
    Views
    7,517

    How to compress data to a binary file?

    i need to compress an array of chars, so that my new data will be written to a binary file, with only the first 5 bits of each byte.

    if i have an array of


    {1,2,3}

    i want to write to my...
Results 1 to 4 of 4