Search:

Type: Posts; User: nash@nitk

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,435

    oh! sorry, i just typed that carelessly..my...

    oh! sorry, i just typed that carelessly..my fault.

    i should have typed "fgets()" instead of "scanf().."
  2. Replies
    9
    Views
    1,435

    Ofcourse, I know what fgets() does and how it...

    Ofcourse, I know what fgets() does and how it works.
    and by the way, your idea still didnt work.
    it is still taking in the '\n' as the input to the scanf() , in the second iteration and...
  3. Replies
    9
    Views
    1,435

    well, that doesnt do the job either this is...

    well, that doesnt do the job either

    this is the output now :




    what do you want to do
    a> Send a file to the backend
    b> Read a file in the backend
  4. Replies
    9
    Views
    1,435

    phew!! never knew that was happening.. I have...

    phew!! never knew that was happening..
    I have a doubt in your method . OK, i will do:


    fgets(&choice,sizeof(char), stdin);

    fine, what did you mean by check the contents in...
  5. Replies
    9
    Views
    1,435

    irritating bug wont go

    I cant explain why this is happening :



    while(1)
    {
    ...
  6. Replies
    2
    Views
    1,640

    elementary networking problem

    I started with networking today..THis piece of code is giving me some problem, can some one help me??


    client side:




    //sockfd is the socket descriptor that I am using to send and...
Results 1 to 6 of 7