Search:

Type: Posts; User: mityay

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    9,232

    sscanf is slow but can be sped up significantly

    I have faced with this issue myself recently. My program has to process the string consisting of two columns: words and the document ids where those words are located. The string was of the following...
  2. Replies
    2
    Views
    9,502

    This is what I found at...

    This is what I found at http://bytes.com/forum/thread220578.html Is this all nonsense?

    1. Family read and Co: open, close, read, write, ioctl...
    2. Family fread and Co: fopen, fclose, fread,...
  3. Replies
    2
    Views
    9,502

    fread and fgets for socket programming

    I'm working on client-server application where the data is exchanged through fread-fwrite and fgets-fputs statements. This is more convenient than read-write since it allows buffering and allows...
  4. Replies
    4
    Views
    1,602

    I didn't change the logic - just replaced "if"...

    I didn't change the logic - just replaced "if" with "else if" that's all. And it's not happening anymore. And the line is overwriting the values of other_array structure but I don't think there's...
  5. Replies
    4
    Views
    1,602

    if vs else if. Seems like a huge difference

    I'm writing a client-server application. Attached is its simplified version which narrows down my issue. The idea is, that server sends the sturcture of 3 ints. Client receives the structure and...
Results 1 to 5 of 5