Search:

Type: Posts; User: coder_009

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    16,782

    Isn't there any function on Unix or Linux that...

    Isn't there any function on Unix or Linux that gives time from start of the process rather than the epoch? Such a long time period from 1970 to now makes it so big in magnitude.
  2. Replies
    4
    Views
    16,782

    Time in milliseconds

    Hi,

    I've searched the topic on google and this website, but i could not find the exact answer what i was looking for.

    For a certain scenario in my application (timestamps related) i need time...
  3. Replies
    10
    Views
    2,172

    yeah, i got it. Thanx a lot man !!!

    yeah, i got it. Thanx a lot man !!!
  4. Replies
    10
    Views
    2,172

    Thanx guys ! problem is solved using fread()....

    Thanx guys ! problem is solved using fread(). Using "rb" in fopen works. But i'd also like to know about the _open();
  5. Replies
    10
    Views
    2,172

    anyways here it is, please tell me if i am...

    anyways here it is, please tell me if i am missing something here


    fd = _open("song.mp3",_O_RDONLY , _O_BINARY);
  6. Replies
    10
    Views
    2,172

    :) i did not lie. I also have the code that uses...

    :) i did not lie. I also have the code that uses _open(), but since you guys stressed more on fopen, feof() so i posted this code.
  7. Replies
    10
    Views
    2,172

    Here's the code: FILE *fp; char data_byte;...

    Here's the code:


    FILE *fp;
    char data_byte;
    int count=0;

    fp = fopen("song.mp3","r");

    if(fp==NULL)
  8. Replies
    10
    Views
    2,172

    Problem reading file

    Hi,

    I am stuck with a weird problem that i am not able to understand.

    I am trying to make a utility in C language that extracts a part of an MP3 file and writes it to an output file.

    What...
Results 1 to 8 of 8