Search:

Type: Posts; User: AlTimin

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,649

    I prefer Kruskal algorithm. It's realization with...

    I prefer Kruskal algorithm. It's realization with disjoint set union is much easiar to write, and it almost as quickly as Prim's algorithm with Fibonnaci heap.
  2. Replies
    5
    Views
    952

    Your program fails with RunTime error because of...

    Your program fails with RunTime error because of this line:


    scanf ("%d", guess_value );


    scanf requires a pointer to int (int*), not just int.
    guess_value leds to (int*), and scanf tryes...
  3. Replies
    0
    Views
    1,669

    problem with unblocking sockets

    Hi!

    I'm writing small socket problem and I met a problem with unblocking sockets.
    I use this function to unblock socket.


    void set_nonblock(int& socket)
    {
    int flags;
    flags =...
Results 1 to 3 of 3