User Profile

Collapse

Profile Sidebar

Collapse
nvr
nvr
Last Activity: Mar 24 '08, 08:28 PM
Joined: Mar 24 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nvr
    replied to syntax error near unexpected token `('
    when i have run the program using he -o i got the following errors

    please help
    Clientsend.c:1: 19: error: stdio.h: No such file or directory
    Clientsend.c:2: 20: error: stdlib.h: No such file or directory
    Clientsend.c:3: 20: error: string.h: No such file or directory
    Clientsend.c:4: 23: error: sys/types.h: No such file or directory
    Clientsend.c:5: 24: error: sys/socket.h: No such file or directory
    ...
    See more | Go to post

    Leave a comment:


  • nvr
    started a topic syntax error near unexpected token `('

    syntax error near unexpected token `('

    Hi all
    I am doing the socket programming for the client side. but the code is not compiling and i am getting the below error

    ./Clientsend.c: line 11: syntax error near unexpected token `('
    ./Clientsend.c: line 11: `int main()'

    Code:
    #include <stdio.h>

    #include <stdlib.h>

    #include <string.h>

    #include <sys/types.h>

    ...
    See more | Go to post

  • nvr
    started a topic syntax error near unexpected token `('

    syntax error near unexpected token `('

    hi all

    i am getting the error

    line 11: syntax error near unexpected token `('
    line 11: `int main()'


    while trying to complie a c program in ubuntu
    The code is very simple
    # include <stdio.h>

    int main()
    {
    printf("Hello") ;
    return 0;
    }

    Please help me how to rectify this

    Vani
    See more | Go to post
No activity results to display
Show More
Working...