Search:

Type: Posts; User: robsmith

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,065

    Segmentation fault problem

    I am trying to produce a c program that downloads a web page using sockets, however when i compile i get a warning message:

    webclient.c: In function `main':
    webclient.c:61: warning: passing arg 2...
  2. Replies
    9
    Views
    1,903

    Re

    OK thank you
    Changed that, but i now get this error:

    stonkin:4> gcc -lsocket -lnsl tcp.c
    tcp.c: In function `main':
    tcp.c:89: warning: passing arg 1 of `strlen' makes pointer from integer...
  3. Replies
    9
    Views
    1,903

    Re

    Hi thanks alot for your help,

    I changed the code but got these errors:

    tcp.c: In function `main':
    tcp.c:78: parse error before `char'
    tcp.c:88: `Their' undeclared (first use in this function)...
  4. Replies
    9
    Views
    1,903

    Re

    No, tried that, it didnt work :(
  5. Replies
    9
    Views
    1,903

    Please Help! Socket error

    I am trying to create a c program that downloads a htmlo file & saves it to disk. Here is the code, each time i compile it gives this error:

    c:30 Storage size of 'Their' isn't known

    Please...
  6. Replies
    2
    Views
    1,462

    Please Help! Socket Problem

    Hi.

    I would like to make a c program that will be able to download a webpage, then save it the the harddisk, through using sockets.
    For example, it will download a webpage onto the disk as an...
  7. Replies
    2
    Views
    1,742

    Please help! Dynamic binary tree problem

    Hi I am a new C programmer and have produced a program which reads in a file and prints it out. I now need to produce a dynamically built binary tree data structure to hold results.
    The program...
  8. Replies
    6
    Views
    1,589

    Thankyou

    Thankyou for all your help, its all done and working now :p xxx :)
  9. Replies
    6
    Views
    1,589

    Sorting

    Many thanks for your help, you were right.
    The program is now working effectively and outputting the weight converted back into stones, pounds and ounces.
    Now I'm trying to work out how to...
  10. Replies
    6
    Views
    1,589

    Please help! Newbie pointer problem1

    I am new to C, and have defined a structure to hold data for a competitor in a fishing competition.

    The program allows a user to input data like this:


    Please enter number of competitors:
    1
    ...
  11. Please help! Beginner stuck on table and array problem!

    Hi I am new to C programming and I have to produce a C program which holds data for competitors in a competition. The structure must have 5 fields, one to hold the competitor's name, one to hold a...
Results 1 to 11 of 11